This is the www.emfcamp.org web site
sudo apt-get install python-dev python-virtualenv libxml2-dev libxslt-dev libffi-dev postgresql-server-dev-9.1
make init
make update # may take a few minutes if you don't have cached .whl files
make data
To set up easy_install go here
sudo easy_install virtualenv
make init
make update
make data
make
Now create a user (go to http://localhost:5000/signup) and then run:
make admin
This will make your user an administrator.
If you want to clean out the database and start again then:
rm var/test.db
make update
make data
The site will run on http://localhost:5000.
If you would like to change the port that the site uses you can set this in main.py (last line):
app.run(processes=2, port=8888)
You can also use this to make the site accessible outside of your computer. Only do this if you're sure you know what you're doing.
app.run(processes=2, host="0.0.0.0")
N.B. the version might be wrong for some of these, check against requirements.txt