No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
migrations
qual
.gitignore
README.md
manage.py
requirements.txt
settings.py.default
uwsgi.ini.default

README.md

qual

Requirements

  • Python 2.7
  • virtualenv
  • PostgreSQL Instance

Setup

virtualenv env
source env/bin/activate
pip install -r requirements.txt
cp settings.py.default settings.py

You should modify settings.py with your PostgreSQL configuration.

python manage.py db upgrade

Run for debug

python manage.py runserver

Run for production

Make sure you have your unique SECRET_KEY and REGISTER_KEY in settings.py.

uwsgi uwsgi.ini

Migrate after changing models

python manage.py db migrate
python manage.py db upgrade