Thanks so much for your interest in contributing! 🎉🎉🎉🎉
Check out the open issues to see where you can contribute.
You can also join our Slack channel (#quantifiedself
) on the Open Humans Slack.
You can send yourself an invite to the Slack through this link.
The production version of this website is deployed to Heroku. Anticipating this deployment
we run the local development version through heroku local
, which requires you to have the heroku
CLI installed globally.
We use pipenv
for the Python package management. On MacOS it can be installed through Homebrew
using brew install pipenv
. (See the homebrew website for instructions on how to install brew
).
- Download the repo:
git clone git@github.com:OpenHumans/quantified-flu.git
- Enter the project folder:
cd quantified-flu
- Set up packages:
pipenv install --dev
- Activate the virtual environment:
pipenv shell
- Set up Black pre-commit:
pre-commit install
The key-value-store for background tasks is set up to be redis
which you'll need to install separately and then start with redis-server
for actual use. It can be installed through Homebrew
as well, using brew install redis
.
Copy example.env
to .env
and set it up.
heroku local:run python manage.py migrate
In a first terminal to start redis: redis-server
In second terminal to start the local dev environment: heroku local
In browser, go to http://127.0.0.1:5000/