diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-12-09 17:32:42 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-12-09 17:32:42 +0100 |
commit | 108626609eda75e4ecc0a83a650a4d53c46220e0 (patch) | |
tree | 08ea471a4fb9666a67cb55ac134a75b033bc86c8 | |
parent | 408c7137c657dc2b240f2c4c465d55180060ee83 (diff) | |
download | PeerTube-108626609eda75e4ecc0a83a650a4d53c46220e0.tar.gz PeerTube-108626609eda75e4ecc0a83a650a4d53c46220e0.tar.zst PeerTube-108626609eda75e4ecc0a83a650a4d53c46220e0.zip |
Add a little explication on dev mode in README
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -148,7 +148,7 @@ If you want to run PeerTube for production (bad idea for now :) ): | |||
148 | 148 | ||
149 | $ cp config/production.yaml.example config/production.yaml | 149 | $ cp config/production.yaml.example config/production.yaml |
150 | 150 | ||
151 | Then edit the `config/production.yaml` file according to your webserver configuration. Keys set in this file will override those of `config/default.yml'. | 151 | Then edit the `config/production.yaml` file according to your webserver configuration. Keys set in this file will override those of `config/default.yml`. |
152 | 152 | ||
153 | Finally, run the server with the `production` `NODE_ENV` variable set. | 153 | Finally, run the server with the `production` `NODE_ENV` variable set. |
154 | 154 | ||
@@ -172,6 +172,8 @@ The following commands will upgrade the source (according to your current branch | |||
172 | 172 | ||
173 | ### Development | 173 | ### Development |
174 | 174 | ||
175 | In this mode, the server will run requests between pods more quickly, the videos duration are limited to a few seconds and the client files are automatically compiled when we modify them: | ||
176 | |||
175 | $ npm run dev | 177 | $ npm run dev |
176 | 178 | ||
177 | ### Test with 3 fresh nodes | 179 | ### Test with 3 fresh nodes |