aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-11 11:29:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-11 11:36:05 +0200
commit66dd264f7b15c05006faa00694c88c56794edc54 (patch)
tree7545d2f52b8019c128897c120dab7bcbafb586cd /support
parent69f616ab3aeefd6ce330600604df90f2f48bfe3b (diff)
downloadPeerTube-66dd264f7b15c05006faa00694c88c56794edc54.tar.gz
PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.tar.zst
PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.zip
Better build/dev scripts
Diffstat (limited to 'support')
-rw-r--r--support/doc/client/code.md2
-rw-r--r--support/doc/server/code.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/support/doc/client/code.md b/support/doc/client/code.md
index c1a5c1c5f..bae53ffe5 100644
--- a/support/doc/client/code.md
+++ b/support/doc/client/code.md
@@ -55,7 +55,7 @@ Uses [TSLint](https://palantir.github.io/tslint/) for TypeScript linting and [An
55 * Install [the dependencies](https://github.com/Chocobozzz/PeerTube#dependencies) 55 * Install [the dependencies](https://github.com/Chocobozzz/PeerTube#dependencies)
56 * Run `npm install` at the root directory to install all the dependencies 56 * Run `npm install` at the root directory to install all the dependencies
57 * Run PostgreSQL and create the database `peertube_dev`. 57 * Run PostgreSQL and create the database `peertube_dev`.
58 * Run `npm run dev` to compile the client and automatically run the server. Then the server will watch and compile the client files automatically. You just need to refresh the browser to see your modifications. 58 * Run `npm run dev:client` to compile the client, run the server and watch client files modifications.
59 59
60In a Angular application, we create components that we put together. Each component is defined by an HTML structure, a TypeScript file and optionnaly a SASS file. 60In a Angular application, we create components that we put together. Each component is defined by an HTML structure, a TypeScript file and optionnaly a SASS file.
61If you are not familiar with Angular I recommend you to read the [quickstart guide](https://angular.io/docs/ts/latest/quickstart.html). 61If you are not familiar with Angular I recommend you to read the [quickstart guide](https://angular.io/docs/ts/latest/quickstart.html).
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
47The `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)). 47The `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