Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.08 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.08 KB

BOC Trip Lottery

Setting Up

Starting venv

Mac: . venv/bin/activate

Windows: > venv\Scripts\activate

Installing dependencies

Inside your virtual env, run: pip install -r requirements.txt

Loading .env File

Find the demo .env file here and put it in your toplevel project directory

Running the app

export FLASK_APP=boc/__init__.py flask run

Testing

Integrations tests can be run with pytest

Additional Resources

https://flask.palletsprojects.com/en/1.1.x/quickstart/

https://flask-sqlalchemy.palletsprojects.com/en/2.x/quickstart/

TODO: If creating and destroying the database is not a suitable substitution for true migration, implement alembic (alternative resource).

Contacts

  • Clara Guo '23
  • Anna Zhao '23
  • Lucas Gelfond '23
  • Ethan Asis '23

For contact info, please email fullstack@brown.edu