TL;DR:
- Assets, partials, layouts, gem configurations, other code shared among apps
- Different database for every app
Ability to update codebase across all apps at once, not affecting custom code on client's site
Apartment? Rails Engine? CDN?
I'd like to have certain elements (admin navbar and sidebar, devise configuration (aside from :host
), as well as other bits) available on all of my client's sites. That's great and all, but I'd also like to be able to update my codebase in once, and push it out (preferably with git), to ALL of my customer's sites, to insure they have the latest code I've written.
I've been looking into creating an Engine for base functionality and creating a CDN for assets, but I'd still manually have to do any interface changes (such as adding a link in the admin navbar) by hand with every customer's project.
Can apartment solve this problem, and still allow each customer to have their own unique codebase/git repo that I use for their own website?
I know I'm not doing the best job of accurately describing my issue, so if you'd like me to clarify anything, please ask.
Any reading material would be appreciated.
EDIT: I should add I'm currently using Deis on an AWS cluster for production.