/mega

My first flask app

Primary LanguagePythonMIT LicenseMIT

mega

My first flask app

Development Installation:

  1. Install development requirements:
  2. pip install -r requirements.txt
  3. Create the Migration Repository.
  4. flask db init
  5. The First Database Migration
  6. flask db migrate -m "Initialising database"
  7. flask db upgrade

Modifying The Database Models:

If any changes to the database are required, then a new database migration needs to be generated:

  1. flask db migrate -m "<MESSAGE DESCRIBING DATABASE UPDATE>"
  2. flask db upgrade