mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
code-style: Improve state and logs discussion.
This commit is contained in:
@@ -169,11 +169,9 @@ messages).
|
|||||||
|
|
||||||
### State and logs files
|
### State and logs files
|
||||||
|
|
||||||
Do not write state and logs files inside the current working directory
|
When writing out state of log files, always declare the path in
|
||||||
in the production environment. This will not do what you expect, because the
|
`ZULIP_PATHS` in `zproject/settings.py`, which will do the right thing
|
||||||
current working directory for the app changes every time we do a deploy.
|
in both development and production.
|
||||||
Instead, hardcode a path in settings.py -- see SERVER\_LOG\_PATH in
|
|
||||||
settings.py for an example.
|
|
||||||
|
|
||||||
## JS array/object manipulation
|
## JS array/object manipulation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user