mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 15:06:19 +00:00
[[snapshot]]: 2021-05-16 19:25:53
Affected files: "config py.md"
This commit is contained in:
+4
-1
@@ -1,3 +1,6 @@
|
|||||||
|
- Per-environment variables for [[agora server]] can be managed in `config.py` in [[go/agora-server/git]]
|
||||||
|
- snapshot follows to illustrate
|
||||||
|
|
||||||
```
|
```
|
||||||
class DefaultConfig(object):
|
class DefaultConfig(object):
|
||||||
AGORA_PATH = os.getenv('AGORA_PATH', os.path.join('/home', getpass.getuser(), 'agora'))
|
AGORA_PATH = os.getenv('AGORA_PATH', os.path.join('/home', getpass.getuser(), 'agora'))
|
||||||
@@ -18,7 +21,7 @@ class ProductionConfig(DefaultConfig):
|
|||||||
|
|
||||||
# EXPERIMENTS
|
# EXPERIMENTS
|
||||||
ENABLE_CTZN = True
|
ENABLE_CTZN = True
|
||||||
ENABLE_STATS = True
|
# ENABLE_STATS is False by default
|
||||||
|
|
||||||
class DevelopmentConfig(DefaultConfig):
|
class DevelopmentConfig(DefaultConfig):
|
||||||
URL_BASE = "http://dev.anagora.org"
|
URL_BASE = "http://dev.anagora.org"
|
||||||
|
|||||||
Reference in New Issue
Block a user