On Jul 8, 2:22 am, Johan Venter <[email protected]> wrote: > It's also a good idea to create a "static" app that can be used to serve all > the static content. > > Will paster serve's performance be good enough for a client facing app ? > AFAIK it's only meant as a development server.
I use the Paste server in multiple production scenarios (behind mod_proxy). If your site/app becomes super-massive, Paste server might not be the best choice, but I'm guessing this won't apply >90% of the time. > Johan > > 2009/7/8 artee <[email protected]> > > > > > > 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
