add support for running the server on local network in debug
This commit is contained in:
@@ -92,10 +92,10 @@ $ pip install -r requirements.txt
|
||||
4. run dev server:
|
||||
|
||||
```bash
|
||||
$ python -m app.run
|
||||
$ python -m app.run -d
|
||||
```
|
||||
|
||||
the server will run on localhost:8080. when run for the first time, it will create an admin account and print its credentials to the terminal, so make sure to run this in an interactive session.
|
||||
the server will run on localhost:8080 (and will be available on the local network as well; if this is not desired, drop the `-d` flag). when run for the first time, it will create an admin account and print its credentials to the terminal, so make sure to run this in an interactive session.
|
||||
|
||||
press <kbd>Ctrl</kbd>+<kbd>C</kbd> to stop the server.
|
||||
|
||||
@@ -110,4 +110,3 @@ when you want to run the server again, make sure to activate the venv first:
|
||||
$ source .venv/bin/activate
|
||||
$ python -m app.run
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user