Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 414 Bytes

README.rst

File metadata and controls

20 lines (12 loc) · 414 Bytes

Installation

Firstly, install postgreSQL and create a DB. Then, write in your terminal:

$ pip install -r requirements.txt
$ export DATABASE_URL="postgresql:///[name]"
$ export APP_SETTINGS="config.Config"

To create the tables, enter python and type:

>>> from app import db
>>> db.create_all()

Then run python app.py. Voila!