Skip to content

Commit

Permalink
Tweak developer instructions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab committed Oct 24, 2024
1 parent 911ad39 commit 5a30698
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ Ensure you have the following installed:
# ssh into the web container
make docker-shell
# in the web container
$ djrun
# run the migrations. you can use the 'dj' alias for `django-admin`
$ django-admin migrate
# create a superuser
$ django-admin createsuperuser
# run the server. alias: djrun
$ django-admin runserver 0.0.0.0:8000
```

### Using Docker
Expand All @@ -97,6 +102,8 @@ make docker-start
This will start the containers in the background, but not Django. To do this, connect to the web container with `make docker-shell` and run `honcho start` to start both
Django and the scheduler in the foreground, or just `djrun`.

Note: don't forget to run `django-admin migrate` and `django-admin createsuperuser` if you've just set the project up.

Upon first starting the container, the static files may not exist, or may be out of date.
To resolve this, run `make load-design-system-templates`.

Expand Down

0 comments on commit 5a30698

Please sign in to comment.