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 Initial Version and Version 1 of DeployWithAnEgg


Ignore:
Timestamp:
11/01/05 15:05:57 (14 years ago)
Author:
michele
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeployWithAnEgg

    v1 v1  
     1= Deploying your TG application with an Egg and Easy Install = 
     2 
     3=== Q: How can I make a machine in which TG isn't installed, run an app written in TG? === 
     4 
     5If you quickstarted your application, you should have a setup.py file. 
     6 
     7{{{python setup.py bdist_egg}}}  
     8 
     9will give you an Egg file that you can copy over to your deployment machine and easy_install. 
     10 
     11When you do that, your start script is available to start up the TurboGears server. 
     12 
     13Note also that as long as the setup.py lists TurboGears as a 
     14requirement, it should be possible for somebody to install your 
     15application with just the .egg and easy_install - including the 
     16installation of TurboGears itself, with all its dependencies. 
     17 
     18This is a pretty killer feature for application deployment, especially 
     19since it will also upgrade TurboGears if you use an app that needs a 
     20later version of something, etc.  If your application has other 
     21dependencies besides TurboGears, those can get installed too. 
     22 
     23Goggle group discussion [http://groups.google.com/group/turbogears/browse_frm/thread/3d74e803cd4b0cae/b85228b2869aaa84#b85228b2869aaa84 here].