Diana aims to help you live a better day by tracking your tasks and helps you have better habits.
All contributions are very welcomed!
- Docker
- OPTIONALLY You can run
pipenv install --dev
indiana-server/app
to install all python dependencies needed in this project so you can get autocompletion in your IDE -- Requires python and pipenv - create .env file in the root directory to hold the environment variables, some of environment variables are
- SECRET_KEY=use_secret_key
- POSTGRES_DB=choose_any
- POSTGRES_USER=choose_any
- POSTGRES_PASSWORD=choose_ay
- EMAIL_HOST_USER=needed_in_reset_password
- EMAIL_HOST_PASSWORD=needed_in_reset_password
- in the root directory run
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
- Then run
docker exec -it diana-server_web_1 bash
- In the sub-shell run
python manage.py collectstatic
python manage.py migrate
python manage.py createsuperuser
follow the instruction to create a new superuser
This is the way that our database is designed