diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-12 18:07:41 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-12 18:07:41 +0100 |
commit | 63bfad7ec984dad1e9a96de1f191db5cc78db5bf (patch) | |
tree | fe003158afa1ab6795652ae114c08be580078efb /support/doc/development/server | |
parent | 339632b4a3f94a6ebee3767054ef6c701858a785 (diff) | |
download | PeerTube-63bfad7ec984dad1e9a96de1f191db5cc78db5bf.tar.gz PeerTube-63bfad7ec984dad1e9a96de1f191db5cc78db5bf.tar.zst PeerTube-63bfad7ec984dad1e9a96de1f191db5cc78db5bf.zip |
Try to improve documentations/readme
Diffstat (limited to 'support/doc/development/server')
-rw-r--r-- | support/doc/development/server/code.md | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/support/doc/development/server/code.md b/support/doc/development/server/code.md index d909b0c3d..ddb93119b 100644 --- a/support/doc/development/server/code.md +++ b/support/doc/development/server/code.md | |||
@@ -36,21 +36,6 @@ All other server files are in the [server](https://github.com/Chocobozzz/PeerTub | |||
36 | 36 | ||
37 | Uses [JavaScript Standard Style](http://standardjs.com/). | 37 | Uses [JavaScript Standard Style](http://standardjs.com/). |
38 | 38 | ||
39 | |||
40 | ## Developing | ||
41 | |||
42 | * Install [the dependencies](https://github.com/Chocobozzz/PeerTube#dependencies) | ||
43 | * Run `yarn install` at the root directory to install all the dependencies | ||
44 | * Run PostgreSQL and create the database `peertube_dev`. | ||
45 | * Run `npm run dev:server` to run the server, watch server files modifications and restart it automatically. The server (API + client) listen on `localhost:9000`. | ||
46 | |||
47 | The `NODE_ENV=test` is set to speed up communications between instances (see [constants.ts](https://github.com/Chocobozzz/PeerTube/blob/master/server/initializers/constants.ts)). | ||
48 | |||
49 | `npm run help` gives you all available commands. | ||
50 | |||
51 | If you want to test the decentralization feature, you can easily run 3 instances by running `npm run play`. The instances password are `test1`, `test2` and `test3`. | ||
52 | |||
53 | |||
54 | ## Architecture | 39 | ## Architecture |
55 | 40 | ||
56 | The server is composed by: | 41 | The server is composed by: |