watthell234 / HitchIn_backend

This is a great problem to solve for gov't. They are usually so behind with Technology that citizens need to offer solutions.
2 stars 0 forks source link

HitchIn Backend

  1. git clone this-repo
  2. cd into-repo
  3. pipenv shell
  4. pipenv install to install project dependencies.

Database Migrations

Manage.py contains the migration scripts. In order to perform migrations after model gets changed you must run the following commands

If first time running migration then run

python from models import db db.create_all()

  1. python manage.py db migrate
  2. python manage.py db upgrade