diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 11:29:03 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 11:36:05 +0200 |
commit | 66dd264f7b15c05006faa00694c88c56794edc54 (patch) | |
tree | 7545d2f52b8019c128897c120dab7bcbafb586cd /support/doc/server | |
parent | 69f616ab3aeefd6ce330600604df90f2f48bfe3b (diff) | |
download | PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.tar.gz PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.tar.zst PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.zip |
Better build/dev scripts
Diffstat (limited to 'support/doc/server')
-rw-r--r-- | support/doc/server/code.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/doc/server/code.md b/support/doc/server/code.md index 76d11c963..13e592335 100644 --- a/support/doc/server/code.md +++ b/support/doc/server/code.md | |||
@@ -42,7 +42,7 @@ Uses [JavaScript Standard Style](http://standardjs.com/). | |||
42 | * Install [the dependencies](https://github.com/Chocobozzz/PeerTube#dependencies) | 42 | * Install [the dependencies](https://github.com/Chocobozzz/PeerTube#dependencies) |
43 | * Run `npm install` at the root directory to install all the dependencies | 43 | * Run `npm install` at the root directory to install all the dependencies |
44 | * Run PostgreSQL and create the database `peertube_dev`. | 44 | * Run PostgreSQL and create the database `peertube_dev`. |
45 | * Run `npm run dev` to compile the client and automatically run the server. If the client files are already compiled you can simply run `NODE_ENV=test node dist/server` | 45 | * Run `npm run dev:server` to compile the client, run the server and watch server files modifications. |
46 | 46 | ||
47 | The `NODE_ENV=test` is set to speed up communications between pods (see [constants.ts](https://github.com/Chocobozzz/PeerTube/blob/master/server/initializers/constants.ts)). | 47 | The `NODE_ENV=test` is set to speed up communications between pods (see [constants.ts](https://github.com/Chocobozzz/PeerTube/blob/master/server/initializers/constants.ts)). |
48 | 48 | ||