1
0
Fork 0

Add a little explication on dev mode in README

This commit is contained in:
Chocobozzz 2016-12-09 17:32:42 +01:00
parent 408c7137c6
commit 108626609e

View file

@ -148,7 +148,7 @@ If you want to run PeerTube for production (bad idea for now :) ):
$ cp config/production.yaml.example config/production.yaml $ cp config/production.yaml.example config/production.yaml
Then edit the `config/production.yaml` file according to your webserver configuration. Keys set in this file will override those of `config/default.yml'. Then edit the `config/production.yaml` file according to your webserver configuration. Keys set in this file will override those of `config/default.yml`.
Finally, run the server with the `production` `NODE_ENV` variable set. Finally, run the server with the `production` `NODE_ENV` variable set.
@ -172,6 +172,8 @@ The following commands will upgrade the source (according to your current branch
### Development ### Development
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:
$ npm run dev $ npm run dev
### Test with 3 fresh nodes ### Test with 3 fresh nodes