# Install pipenv (https://pipenv.kennethreitz.org/en/latest/install/#installing-pipenv)
$ pip install --user pipenv
# Install project dependencies
$ pipenv install --dev
# Install pre-commit hooks
$ pipenv run pre-commit install
# Copy example environment variables to proper file
$ cp example.env .env
# Run Django database migrations
$ pipenv run python manage.py migrate
# Run local server
$ pipenv run python manage.py runserver_plus
$ docker-compose up --build
-
Unarchive data extract to
./data/scraped/*.json
-
Run the import_data command:
$ docker-compose exec web python manage.py import_data ./data/scraped
git push heroku master
heroku run python manage.py clear_cache