WebFaction
Community site: login faq

Hey Guys,

I installed pinax 0.9a1 on my webfaction account.

  1. I created a webapp mod_wsgi 3.2/Python 2.6
  2. I installed and created a virtual environment in my home dir (ie /home/myusername/envs/)
  3. I installed pinax and dependencies (including PIL) in the activated virtual env
  4. I modified my apache2 httpd.conf following this tutorial and create my .wsgi file

Something is nevertheless wrong! In the beginning it was not working, then it started to work, and now it does not work again

My question is, when I start the virtual environment and pinax with the command

~$ python manage.py runserver

Should I specify any specific port (by default it starts as 127.0.0.1:8000), given that when setting up the webapp the webfaction control panel assigns a specific port for the mod_wsgi 3.2/Python 2.6 webapp

asked 11 Nov '10, 04:31

danfreak
112
accept rate: 0%


You are not supposed to start the Django development server at all - your Pinax application should be served by Apache.

You can find detailed instructions on installing Pinax at http://code.pinaxproject.com/wiki/DetailedPinaxWebfaction/

permanent link

answered 11 Nov '10, 04:47

tie
1.4k13
accept rate: 44%

Great mate!

It works now!

Ok I understood I should NOT start the development server! Nevertheless should I activate the virtual environment?

(11 Nov '10, 06:28) danfreak

The virtual environment is "activated" via a configuration directive in the httpd.conf (namely, via WSGIPythonHome). If everything is working, you shouldn't be reconfiguring anything.

(11 Nov '10, 06:45) tie

super! Thanks for your help!

(11 Nov '10, 07:59) danfreak

Just an update. The url for that wiki page is now: http://code-old.pinaxproject.com/wiki/DetailedPinaxWebfaction/ Hope that helps other visitors.

(04 Jul '11, 11:48) bloodpet

Hello bloodpet et al,

Do any of the links posted here work ? Keep receiving Bad Gateway and Timeout errors ... :-(

Would be helpful if anyone could post an updated link for Pinax install on webfaction.

Thanks in advance!

permanent link
This answer is marked "community wiki".

answered 25 Dec '14, 22:02

nirvanesque
113
accept rate: 0%

We have a thread here which explains how to install it, have you tried this method?

(26 Dec '14, 01:42) johns
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×55
×13

question asked: 11 Nov '10, 04:31

question was seen: 4,034 times

last updated: 26 Dec '14, 01:42

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM