Skip to content

Commit

Permalink
Update doc in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément committed Aug 9, 2024
1 parent 361af25 commit e58449a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ $ DJANGO_DEBUG=true npm run dev
```shell
$ DJANGO_DEBUG=true ./manage.py runserver
```
Then you can acess the dev server at `localhost:8000`.

## Prod

Expand All @@ -36,6 +37,7 @@ Note: if you use `direnv`, the environment variable `DJANGO_DEBUG` is set to `tr
$ npm run build
$ ./manage.py distill-local --collectstatic --force dist
```
Then the static site will be available in `dist/`.

Or, if you prefer docker:

Expand All @@ -44,6 +46,7 @@ $ sudo docker build -t jssg .
$ sudo docker network create traefik_public
$ sudo docker compose up
```
With docker the server is accessible at `localhost:8003`

## Config

Expand Down

0 comments on commit e58449a

Please sign in to comment.