Hybride Posted July 5, 2014 Share Posted July 5, 2014 Am currently trying to develop a SaaS, where each user gets their own subdomain with their application. Am wondering, though, with installation and subsequent updates: What is the best way to initiate an installation? The project is currently in a git repository. Is it better to simply pull the master branch per installation; or is zipping up the master branch, copying it to the new subdomain, then running the installation a better (secure?) method? What is the best way to initiate an update of code? If using the git repo, hat would deal with updated code, but not updated MySQL tables. Should the user be allowed to choose to update (so much like W$, a popup shows up that says there's an update; user can choose to update or ignore); or should all updates be forced (such as at a certain time)? I haven't seen much online with my searches, but I may be blind at this point. Any thoughts/comments appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/289461-creatingupdating-saas-with-multiple-subdomains/ Share on other sites More sharing options...
trq Posted July 5, 2014 Share Posted July 5, 2014 If its all hosted on the one server why use multiple installs in the first place? Your application should be built to handle multiple tenancy. 1 & 2) There are plenty of deployment tools around. Personally I use capifony which is capistrano tuned for Symfony applications. 3) Most SaaS services auto update without the user being aware. Quote Link to comment https://forums.phpfreaks.com/topic/289461-creatingupdating-saas-with-multiple-subdomains/#findComment-1483979 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.