Open the application at port `5001`, for example: <http://localhost:5001> or <http://mydomainname.ext:5001>.
Open the application at port `5001`, for example: <http://localhost:5001> or <https://mydomainname.ext:5001>.
### Dependencies
## Install octomode with an URL prefix
`python` dependencies are listed in `requirements.txt`
If you want to install octomode with an URL prefix, like <https://mydomainname.ext/octomode/>, then you can use the gunicorn WSGI.
To install them, you can run:
If you have ran the `make setup` command already, then `gunicorn` is already installed.
`make setup`
Configure your application root URL in your `.env` file.
This creates a virtual environment at `.venv/` and installs all the dependencies here.
You can simply run *octomode* now with the following command to run it with `gunicorn` (and not the built-in Flask dev server):
### Other configurations on the server
`make action`
### Dependencies
* Configure the webserver to listen to the port of the flask application, for example with a subdomain
* Expand the current https certificate for a subdomain
* Restart nginx (`sudo service reload nginx`)
* To keep the flask application running in the background: add a new config to supervisor (`cp /etc/supervisor/conf.d/previousexample.conf /etc/supervisor/conf.d/new.conf`)
* Restart supervisor (`sudo service reload supervisor`)