- Foreman https://theforeman.org/manuals/1.13/index.html#3.InstallingForeman
- RabbitMQ https://www.rabbitmq.com/download.html
- pip https://pip.pypa.io/en/stable/installing/
Strongly recommend you use virtualenv.
pip install -r requirements.txt
Copy env.example to .env.
This file contains secrets and other configurations for running the app.
When you use foreman to run this app, it will load .env to be environment
variables.
Keep your version SECRET! Never commit it to git.
You need to create new projects for development purposes. For example, you can't re-use the production Open Humans app because you'll need to set your app's redirect_uri to point to localhost.
Note: Django will use SQLite3 for local development unless you set
DATABASE_URL in your .env.
In the project directory, run the migrate command with foreman:
foreman run python manage.py migrate
foreman start
Go to http://127.0.0.1:5000/