-
install PostgreSQL 8.3+
-
make sure you have virtualenv installed: http://www.virtualenv.org/en/latest/
-
download helios-server
-
cd into the helios-server directory
-
create a virtualenv:
virtualenv venv
- activate virtual environment
source venv/bin/activate
- install requirements
pip install -r requirements.txt
- reset database
./reset.sh
- start server
python manage.py runserver
- to get Google Auth working:
** go to https://console.developers.google.com
** create an application
** set up oauth2 credentials as a web application, with your origin, e.g. https://myhelios.example.com, and your auth callback, which, based on our example, is https://myhelios.example.com/auth/after/
** still in the developer console, enable the Google+ API.
** set the GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET configuration variables accordingly.