[Setup] new production server - buildout or source?
Sergey V.
sergey.volobuev at gmail.com
Thu Oct 2 08:28:55 UTC 2008
ikcarr wrote:
>
> I'm setting up a new production server and I'm not quite sure if I should
> go the source path or use buildout.
>
Installing most third-party products without a buildout is a P.I.T.A
nowadays - they're all eggified now.
On the other hand, using buildout makes everything much simpler even
compared to "unpack it into Products folder" approach.
To move from dev to production you do:
svn co svn://my.svn.server/thecoolsite/trunk/buildout
cd buildout
python2.4 bootstrap.py
bin/buildout -c production.cfg
bin/instance start
and that should be it. Transferring any updates from your dev machine to
production is as simple as
(...you may or may not want to do "bin/instance stop" here)
svn up
bin/buildout -c production.cfg
bin/instance restart
--
View this message in context: http://n2.nabble.com/new-production-server---buildout-or-source--tp1131631p1133387.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
More information about the Setup
mailing list