How to offer hosted installs?
Posted: Tue Mar 11, 2008 4:12 am
Hey,
I'd like to offer hosted installs of my project, however I'm not quite sure how to set it up (I can set the server up no problem, in fact it's already setup and working), the problem I'm having is how to setup a project install for each client.
Do I just place a copy of the latest project files into the skeleton directory (/etc/skel) and so when a new account is created, all the needed files would be there and I'd just have to run a script to create the database, needed tables etc etc etc.
The other method I thought of was putting the project files in say /usr/local/foobar and having sub-directories for each version, and a special one that would contain the latest version (ie, /usr/locale/foobar/current /usr/locale/foobar/1.0.8). From there I could just have symlinks to some of the files in the users home directory, and then it would include and use all the files in /usr/local/foobar.
One of the main problems I have is that I'd like to be able to upgrade all clients (if they want the upgrade) kind of automagically, ie - I don't want to have to go around loads of home directories and apply a set of patch files.
I'm just not sure which way to go about this, I can see issues with both ways really. Would really appreciate your input on this (sorry if this is the wrong forum to put it in).
Regards,
I'd like to offer hosted installs of my project, however I'm not quite sure how to set it up (I can set the server up no problem, in fact it's already setup and working), the problem I'm having is how to setup a project install for each client.
Do I just place a copy of the latest project files into the skeleton directory (/etc/skel) and so when a new account is created, all the needed files would be there and I'd just have to run a script to create the database, needed tables etc etc etc.
The other method I thought of was putting the project files in say /usr/local/foobar and having sub-directories for each version, and a special one that would contain the latest version (ie, /usr/locale/foobar/current /usr/locale/foobar/1.0.8). From there I could just have symlinks to some of the files in the users home directory, and then it would include and use all the files in /usr/local/foobar.
One of the main problems I have is that I'd like to be able to upgrade all clients (if they want the upgrade) kind of automagically, ie - I don't want to have to go around loads of home directories and apply a set of patch files.
I'm just not sure which way to go about this, I can see issues with both ways really. Would really appreciate your input on this (sorry if this is the wrong forum to put it in).
Regards,