updated readme
This commit is contained in:
parent
ab1a42091d
commit
ef15c29721
@ -46,9 +46,11 @@ python manage.py createsuperuser
|
|||||||
|
|
||||||
Run (single process ONLY):
|
Run (single process ONLY):
|
||||||
```bash
|
```bash
|
||||||
daphne -b 127.0.0.1 -p 8000 config.asgi:application
|
# Development (auto-reload for HTTP only; WS fine for single process)
|
||||||
# or for quick dev
|
python manage.py runserver 127.0.0.1:8000
|
||||||
python manage.py runserver 0.0.0.0:8000 # fine for dev only
|
|
||||||
|
# Production-like single-process (Channels ASGI via daphne)
|
||||||
|
python -m daphne -b 127.0.0.1 -p 8000 project.config.asgi:application
|
||||||
```
|
```
|
||||||
Visit: http://127.0.0.1:8000/
|
Visit: http://127.0.0.1:8000/
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user