Requires postgres
$ psql -c "CREATE DATABASE research;"
$ pip install -r requirements.txt
$ ./manage.py migrate
$ mkdir db-files
$ ./manage.py createsuperuser # follow prompts
Create settings
$ cp timeline/settings/settings.example.py timeline/settings.py
To update / create new events
$ fab create_json
To generate svg icons
$ npm run generate-icons
To get a dev set-up running in Docker, make sure you have Docker and docker-compose
installed, then run
bash ./docker/init.sh
Then you should be able to run
docker-compose exec web fab run
docker-compose exec web pytest
docker-compose down
etc.