Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 1 and Version 2 of DeployWithAnEgg


Ignore:
Timestamp:
11/05/05 14:47:31 (14 years ago)
Author:
Aggelos Orfanakos
Comment:

Added some more details regarding the files required for deployment.

Legend:

Unmodified
Added
Removed
Modified
  • DeployWithAnEgg

    v1 v2  
    77{{{python setup.py bdist_egg}}}  
    88 
    9 will give you an Egg file that you can copy over to your deployment machine and easy_install. 
     9will give you an Egg file that you can copy over to your deployment machine and easy_install. When you do that, your start script is available to start up the TurboGears server. You also need a prod.cfg that you will call your start script with, as well as an existing database that your project will use (specified in prod.cfg). This can be the same database as the one you created with 
    1010 
    11 When you do that, your start script is available to start up the TurboGears server. 
     11{{{tg-admin sql create}}} 
    1212 
    13 Note also that as long as the setup.py lists TurboGears as a 
    14 requirement, it should be possible for somebody to install your 
    15 application with just the .egg and easy_install - including the 
    16 installation of TurboGears itself, with all its dependencies. 
     13while developing your application. 
    1714 
    18 This is a pretty killer feature for application deployment, especially 
    19 since it will also upgrade TurboGears if you use an app that needs a 
    20 later version of something, etc.  If your application has other 
    21 dependencies besides TurboGears, those can get installed too. 
     15Note also that as long as the setup.py lists TurboGears as a requirement, it should be possible for somebody to install your application with just the .egg and easy_install - including the installation of TurboGears itself, with all its dependencies. 
     16 
     17This is a pretty killer feature for application deployment, especially since it will also upgrade TurboGears if you use an app that needs a 
     18later version of something, etc. If your application has other dependencies besides TurboGears, those can get installed too. 
    2219 
    2320Goggle group discussion [http://groups.google.com/group/turbogears/browse_frm/thread/3d74e803cd4b0cae/b85228b2869aaa84#b85228b2869aaa84 here].