Webfaction

4 views
Skip to first unread message

clemensherschel

unread,
Jul 7, 2009, 6:33:18 PM7/7/09
to pylons-...@googlegroups.com
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.
Thanks,

Clemens Herschel

Wyatt Baldwin

unread,
Jul 7, 2009, 9:19:51 PM7/7/09
to pylons-discuss
On Jul 7, 3:33 pm, clemensherschel <hersc...@panix.com> wrote:
> 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 virtualenv and a "custom port" app.

Brennan Todd

unread,
Jul 7, 2009, 10:17:41 PM7/7/09
to pylons-...@googlegroups.com

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 used the built-in install, then upgraded it using easy_install.

artee

unread,
Jul 8, 2009, 2:57:03 AM7/8/09
to pylons-discuss
> 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

Johan Venter

unread,
Jul 8, 2009, 5:22:59 AM7/8/09
to pylons-...@googlegroups.com

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.

Johan

2009/7/8 artee <artu...@gmail.com>

Garland, Ken R

unread,
Jul 8, 2009, 12:30:56 PM7/8/09
to pylons-...@googlegroups.com
I've done a few installs with my webfaction account. At first I used the built-in pylons installer, then just installed from scratch with setuptools. You can install anything in your account if you'd like. Currently I have memcache, nginx and pylons, need to clean things up a bit.

Wyatt Baldwin

unread,
Jul 8, 2009, 12:51:34 PM7/8/09
to pylons-discuss
On Jul 8, 2:22 am, Johan Venter <a.johan.ven...@gmail.com> 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 <artur....@gmail.com>
Reply all
Reply to author
Forward
0 new messages