Browse Source

'README.md' updaten

pull/30/head
mb 2 years ago
parent
commit
03c315399b
  1. 16
      README.md

16
README.md

@ -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`

Loading…
Cancel
Save