Eliminate unneeded env_vars.yaml. (#1957)
This commit is contained in:
Родитель
a08c154ce2
Коммит
94e0bd5352
10
README.md
10
README.md
|
@ -32,16 +32,6 @@ You will need to activate the venv in every shell that you use.
|
|||
|
||||
If you encounter any error during the installation process, the section **Notes** (later in this README.md) may help.
|
||||
|
||||
##### Add env_vars.yaml
|
||||
|
||||
Create a file named `env_vars.yaml` in the root directory and fill it with:
|
||||
|
||||
```yaml
|
||||
env_variables:
|
||||
DJANGO_SETTINGS_MODULE: 'settings'
|
||||
DJANGO_SECRET: 'this-is-a-secret'
|
||||
```
|
||||
|
||||
### Developing
|
||||
|
||||
To start the main server and the notifier backend, run:
|
||||
|
|
5
app.yaml
5
app.yaml
|
@ -29,13 +29,12 @@ handlers:
|
|||
script: auto
|
||||
secure: always
|
||||
|
||||
includes:
|
||||
- env_vars.yaml
|
||||
|
||||
app_engine_apis: true
|
||||
|
||||
env_variables:
|
||||
GAE_USE_SOCKETS_HTTPLIB : ''
|
||||
DJANGO_SETTINGS_MODULE: 'settings'
|
||||
DJANGO_SECRET: 'this-is-a-secret'
|
||||
|
||||
inbound_services:
|
||||
- mail
|
||||
|
|
|
@ -12,5 +12,6 @@ handlers:
|
|||
|
||||
app_engine_apis: true
|
||||
|
||||
includes:
|
||||
- env_vars.yaml
|
||||
env_variables:
|
||||
DJANGO_SETTINGS_MODULE: 'settings'
|
||||
DJANGO_SECRET: 'this-is-a-secret'
|
||||
|
|
Загрузка…
Ссылка в новой задаче