UTSCCSCC01 / project-ez4-0

project-ez4-0 created by GitHub Classroom
0 stars 0 forks source link

[Chore] Add seed file for local development and testing #24

Closed NielXu closed 3 years ago

NielXu commented 3 years ago

PR Summary

This PR creates a seed file for local development and testing for:

To insert seed, simply do

  1. Ensure your database containers are spin up and running
  2. Ensure your postgres database schemas are up to date
    (venv) $ flask db upgrade
  3. Run seed file
    (venv) $ python db_seed.py

See backend/db_seed.py for the inserted seed.

Would be useful when doing frontend testing @XianghuDai @archie-lhd @ZhenyeZhu @JialeYuLeo