update readme to explain dev mode
This commit is contained in:
parent
6e733b1329
commit
b7a43cd9d9
10
readme.md
10
readme.md
@ -89,6 +89,16 @@ To test CryptPad, go to http://your.server:3000/assert/
|
|||||||
You can use WebDriver to run this test automatically by running TestSelenium.js but you will need chromedriver installed.
|
You can use WebDriver to run this test automatically by running TestSelenium.js but you will need chromedriver installed.
|
||||||
If you use Mac, you can `brew install chromedriver`.
|
If you use Mac, you can `brew install chromedriver`.
|
||||||
|
|
||||||
|
## Developing with CryptPad
|
||||||
|
|
||||||
|
CryptPad is built with a lot of small javascript libraries.
|
||||||
|
To make js files load faster, we apply an aggressive caching policy.
|
||||||
|
|
||||||
|
If you want to add new features to CryptPad, you'll want to turn off caching.
|
||||||
|
You can do so by launching your server in _dev mode_, like so:
|
||||||
|
|
||||||
|
`DEV=1 node server.js`
|
||||||
|
|
||||||
# Setup using Docker
|
# Setup using Docker
|
||||||
|
|
||||||
See [Cryptpad-Docker](cryptpad-docker.md)
|
See [Cryptpad-Docker](cryptpad-docker.md)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user