Then clone the sources and install node modules:
-```bash
+```
$ git clone -b master https://github.com/Chocobozzz/PeerTube
$ cd PeerTube
$ yarn install --pure-lockfile
there, the following commands would create a new database called `peertube_dev`
and a postgres user called `peertube` with password `peertube`:
-```bash
+```
# sudo -u postgres createuser -P peertube
Enter password for new role: peertube
# sudo -u postgres createdb -O peertube peertube_dev
To develop on the server-side:
-```bash
+```
$ npm run dev:server
```
To develop on the client side:
-```bash
+```
$ npm run dev:client
```
This will run 3 nodes:
-```bash
+```
$ npm run clean:server:test
$ npm run play
```