A personal website that also serves up some data on migration trends.
- Create a
.env
which definesDJANGO_SECRET
brew install foreman
brew install postgresql
(and follow instructions to launch withlaunchctl
)createdb migrant
pip3 install -r requirements.txt
python3 django_app/manage.py migrate
forman start
- Django app will be running at
localhost:5000
Once your app is up and running, you will want some data. Run python3 django_app/bilateral_data.py
to populate your database.