'README.md' updaten
This commit is contained in:
parent
7ad6f9ca42
commit
ce60cf94bf
14
README.md
14
README.md
@ -73,7 +73,19 @@ Open the application at port `5001`, for example: http://localhost:5001
|
|||||||
|
|
||||||
## Install with URL prefix
|
## Install with URL prefix
|
||||||
|
|
||||||
If you want to install octomode with an URL prefix, like <https://mydomainname.ext/octomode/>, then you can use the gunicorn WSGI. If you have ran the `make setup` command already, then `gunicorn` is already installed. Configure your application root URL in your `.env` file. You can simply run *octomode* now with the following command to run it with `gunicorn` (and not the built-in Flask dev server): `make action`
|
If you want to install octomode with an URL prefix, like <https://mydomainname.ext/octomode/>, then you can use the gunicorn WSGI.
|
||||||
|
|
||||||
|
Configure your application root URL in your `.env` file to `/octomode`:
|
||||||
|
|
||||||
|
```
|
||||||
|
OCTOMODE_APPLICATION_ROOT=/octomode
|
||||||
|
```
|
||||||
|
|
||||||
|
After that, you can simply run:
|
||||||
|
|
||||||
|
`make action`
|
||||||
|
|
||||||
|
This will first check if you already install gunicorn in the `.venv` folder, and after that run *octomode* with `gunicorn` and not the built-in Flask dev server.
|
||||||
|
|
||||||
## Which browser to use?
|
## Which browser to use?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user