Git – Heroku deploy app that is composed of a couple of git repos
Recently I built an rails app for a local business. They like this app so much that they’ve gotten a couple of other local businesses interested in having their own version of the app.
Here lies the problem that Im uncertain how to fix. The core business logic behind the app would be the same for these new and future customers(about 80% of the code). Whereas each customer would have their own static pages, as well as their own stylesheets.
- Git Push to Amazon S3 for Deploying Assets?
- Ruby gem common deployement for all apps
- Using git for version control
- Rails 4 - Application.js contains merge conflicts, not sure how to resolve them
- first time pushing to github
- Local gems for rails outside of gemfile
Ive thought about multi-tenancy, but these guys are picky enough that it honestly seems easier to build the app function the way they want, as opposed to building around DB stored customer preferences(perhaps I’m wrong here).
I would like configure this application so that I can push changes to the core business logic without overwriting the customer specific portions of the site. Perhaps creating a second repo which only contains the customer specific content.
How do I configure this app/Git repo so that I can personalize the app without creating a bunch of parallel repos?
One Solution collect form web for “Git – Heroku deploy app that is composed of a couple of git repos”
As Meagar pointed out the solution to this scenario is to encapsulate the core business logic of these applications into a Gem that can be reused later down the road.