From ed5f91633d96436408c763bb96d2cc463cb7dc00 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 14 Jun 2017 21:37:49 +0200 Subject: Update readme/doc with new client port for dev --- support/doc/client/code.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'support/doc/client/code.md') diff --git a/support/doc/client/code.md b/support/doc/client/code.md index bae53ffe5..89320a1b4 100644 --- a/support/doc/client/code.md +++ b/support/doc/client/code.md @@ -53,9 +53,9 @@ Uses [TSLint](https://palantir.github.io/tslint/) for TypeScript linting and [An ## Developing * Install [the dependencies](https://github.com/Chocobozzz/PeerTube#dependencies) - * Run `npm install` at the root directory to install all the dependencies + * Run `yarn install` at the root directory to install all the dependencies * Run PostgreSQL and create the database `peertube_dev`. - * Run `npm run dev:client` to compile the client, run the server and watch client files modifications. + * Run `npm run dev:client` to compile the client, run the server, watch client files modifications and reload modules on the fly (you don't need to refresh manually the web browser). The API listen on `localhost:9000` and the client on `localhost:3000`. In 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. If you are not familiar with Angular I recommend you to read the [quickstart guide](https://angular.io/docs/ts/latest/quickstart.html). -- cgit v1.2.3