diff --git a/README.md b/README.md index 6fe28edcff6598fb58f66b3500a71c1fdbd5e0ca..be0cffe51840b247dca2ecfafdaaf33250669986 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,17 @@ docker exec -ti ldv-specification python manage.py migrate --settings ldvspec.se - Run `docker-compose -f docker-compose-local.yml up -d` with the following compose file to spin up a new Postgres container, celery worker and rabbitMQ. - Run the following python command to start developing > python manage.py migrate --settings=ldvspec.settings.local - > + > > python manage.py createsuperuser --settings=ldvspec.settings.local - > + > # Or use the following to create it without any user interaction (admin, admin) + > DJANGO_SUPERUSER_PASSWORD=admin python ldvspec/manage.py createsuperuser --username admin --email no-reply@example.com --noinput --settings=ldvspec.settings.local + > > python manage.py runserver --settings=ldvspec.settings.local - > + > + > # You can use the following fixtures to fille the database with some example data + > python manage.py loaddata fixtures/lofardata_fixture.json --settings=ldvspec.settings.local + > python manage.py loaddata fixtures/test-env.json --settings=ldvspec.settings.local --[ ] TODO: load fixture to have sample data ### Django Application * clone the repo