'README.md' updaten

This commit is contained in:
mb 2022-10-12 12:05:45 +02:00
parent 69bdef9825
commit 03c315399b

View File

@ -88,18 +88,10 @@ Then you can configure your environment.
You can do this by passing the values on the command-line before running octomode:
```
export OCTOMODE_PAD_API_KEY=...
```
Or you save the configuration variables in a file called `config.py`:
```
class Config(object):
APPLICATION_ROOT = '/'
PORTNUMBER = 5001
PAD_URL = 'https://pad.vvvvvvaria.org/' # with a slash in the end!
PAD_API_URL = 'https://pad.vvvvvvaria.org/api/1.2.15/'
PAD_API_KEY = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
export OCTOMODE_PORTNUMBER=XXX
export OCTOMODE_PAD_URL=XXX
export OCTOMODE_PAD_API_URL=XXX
export OCTOMODE_PAD_API_KEY=XXX
```
- **OCTOMODE_PORTNUMBER**: optional, default: `5001`