*2008.09.30 09:08 python pylons administration rename move app

Jonathan Vanasco Wed, 24 Sep 2008 08:20:09 -0700

I've had to do this before...

you'll want to rename the appropriate files / directories , and then replace all the module name instances in your project

ie: if your project is named ASDFGHJK , then you'll need to rename: /ASDFGHJK /ASDFGHJK/asdfhjk /ASDFGHJK/asdfhjk.egg-info

then do a s/ASDFGHJK/? on the files

there are lots of
import ASDFGHJK from ASDFGHJK import

if you're using a mac, TextWrangler has a great find/replace function that works on directories

if you're using subversion for version control, i generaly like to do it like this: 1- rename files 2- commit 3- find/replace text 4- commit

if you're using git or mercurial, i think you can do the commits in one step. svn needs them in two though.

 

*2008.09.16 21:09 python pylons administration

see also dreamhost pylons-deploy.txt

 

*2008.07.24 11:14 python pylons administration
*2008.07.16 12:13 python pylons administration
paster server apache - Google Search
Paste Script — Paste Script v1.6.3 documentation
Deployment Chapter (Pylons Book)

 

*2008.07.16 11:22 python pylons administration

paster serve --stop-daemon

 

*2008.07.16 09:51 python pylons administration
paster make-config "SimpleSite==0.3.0" production.ini
paster make-config "ffm" production.ini

 

*2008.07.16 09:49 python pylons administration

this picks up where installation leaves off

overlap is in starting server:

paster serve --reload development.ini

 

*2008.07.14 17:32 python pylons administration paster daemon server serve

figure out how to run server as a daemon pass --deamon to paster serve: paster serve --daemon --reload development.ini paster serve --daemon --reload production.ini