Jd schrieb: > One more related question. > What is the recommended way of packaging and distributing TG2 > application. ? (Any tutorial pointers ?) > > Ideally would like to have a one step installation process that > a. -- installs TG2 (controlled components) > b. -- install the application > c. -- do the initial setup and configuration required. > > Here is what we are thinking for each of this... > > a. Use the EggBasket/Easyeaster. ( I need to understand more here) > > b. create a egg for our application and put it in the basket ?? > How do we tell tg2 deploy an application from egg ? some paster > command
If you use eggs do distribute, you just easyinstall them. We don't do that though, instead we created an application called "DeployBoy" that gets a SVN-path & revision, and will - set up a clean virtualenv - create a workingcopy from SVN - run "python setup.py develop" inside that workingcopy - perform any other tasks that are important to us, e.g. creating directories, changing permissions, asking SE-linux for forgiveness. > > c. Modify websetup.py for doing adding seed data. > Modify setup.py to load additional dependencies. > > python setup.py > paster setup-app config file ? > > d. Where would data upgrade fit in ? We currently don't do that automatically - can get wrong to much. But hopefully one day, we will do that as well there. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

