## 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` 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`
+ * 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`.
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)).