- Clone.
git clone https://github.com/chun37/todo-api.git
- Install dependencies.
pipenv install
- Copy .env file.
cp .env-sample .env
- Generate secret key.
python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
-
Write the key to an .env file.
-
Initialize database.
pipenv run python manage.py migrate
- Run!!!!
pipenv run python manage.py runserver