Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 653 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 653 Bytes

flask-sqlalchemy

Basics

  1. Fork/Clone
  2. Activate a virtualenv if you don't want to mess up packages:)
  3. Install the requirements

Create DB

Create the databases in psql:

$ psql
# create database flask-test
# \q

Create the tables and run the migrations:

$ python manage.py db init
$ python manage.py db migrate
$ python manage.py db upgrade

Run the Application

$ python manage.py runserver

Code Quality

Go to the project directory:

$ pylint --load-plugins pylint_flask_sqlalchemy src

API Docs

Go to docs: https://documenter.getpostman.com/view/4305746/T1LHHpw2?version=latest