Set the admin username and password using environment variables:
export DJANGO_SUPERUSER_PASSWORD="your_password_here"
export USERNAME_FIELD="probably_something_like_admin"
export EMAIL_FIELD="[email protected]"
docker-compose up --build
Make sure there is an instance of PostgreSQL running and /src/syncref/settings.py
is configured accordingly. The project is currently configured to use a remote version of Grobid but a local version can be run using the script in /scripts/grobid
.
The development server can then be started with:
cd src
python manage.py runserver