'README.md' updaten
This commit is contained in:
parent
69bdef9825
commit
03c315399b
1 changed files with 4 additions and 12 deletions
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:
|
You can do this by passing the values on the command-line before running octomode:
|
||||||
|
|
||||||
```
|
```
|
||||||
export OCTOMODE_PAD_API_KEY=...
|
export OCTOMODE_PORTNUMBER=XXX
|
||||||
```
|
export OCTOMODE_PAD_URL=XXX
|
||||||
|
export OCTOMODE_PAD_API_URL=XXX
|
||||||
Or you save the configuration variables in a file called `config.py`:
|
export OCTOMODE_PAD_API_KEY=XXX
|
||||||
|
|
||||||
```
|
|
||||||
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'
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- **OCTOMODE_PORTNUMBER**: optional, default: `5001`
|
- **OCTOMODE_PORTNUMBER**: optional, default: `5001`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue