From ce60cf94bf510aacf94e2acc19160338f9da469d Mon Sep 17 00:00:00 2001 From: mb Date: Wed, 29 Nov 2023 17:06:31 +0100 Subject: [PATCH] 'README.md' updaten --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 885fe48..988dad1 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,19 @@ Open the application at port `5001`, for example: http://localhost:5001 ## Install with URL prefix -If you want to install octomode with an URL prefix, like , 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 , 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?