Database Setup - PatMulvihill/slopespot GitHub Wiki

First make sure you have postgres installed and running. Then create the database:

psql
# create database slopespot_dev;
# # CREATE DATABASE

We use flask-migrate to handle database migrations, so one command will bring the database up to speed with the latest migrations:

python manage.py db upgrade