> Has anyone put a pylons application on webfaction. Did you use their
> pylons install or did you use virtualenv. Any step step by step
> directions would be appreciated.
I'd use a standard configuration (through a web page).
Updated are done by svn update or easy_install in bigger projects.
Additionaly you can do changes in crontab files to customize updates
and restart application.
Steps:
1. Create new application through web page to perform standard
configuration (port and Apache proxy).
2. Create new Pylons application on local PC. Update port and database
paths to the same as from Webfaction.
3. Commit to SVN.
4. Checkout from SVN into application's directory on Webfaction.
5. I'd prefer configuration using development.ini and live.ini files -
it differs from webfaction configuration (test.ini)
6. You have to change lines in crontab to avoid restart of server
using test.ini.
7. Start server using daemon mode:
paster serve --daemon --pid-file=paster.pid --log-file=logs/paster.log
live.ini start
See:
http://wiki.pylonshq.com/display/pylonscookbook/Scripts+for+paster+serve
for more details.
regards,
Artur