X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=c908d7bcb69213fab679db43aee5bce0969997d8;hb=315cc0cc1871ab2a6d6c1bb61cf7b9f10511c3a9;hp=4c2ac6ab5afcc65c035dd958268e48541b126fde;hpb=d5f345ed4cfac4e1fa84dcb4fce1cda4d32f9c73;p=github%2FChocobozzz%2FPeerTube.git
diff --git a/README.md b/README.md
index 4c2ac6ab5..c908d7bcb 100644
--- a/README.md
+++ b/README.md
@@ -178,14 +178,25 @@ You can check the application (CORS headers, tracker websocket...) by running:
The following commands will upgrade the source (according to your current branch), upgrade node modules and rebuild client application:
# systemctl stop peertube
- $ npm run upgrade
+ $ npm run upgrade-peertube
# systemctl start peertube
### Development
-In this mode, the server will run requests between pods more quickly, the videos duration are limited to a few seconds and the client files are automatically compiled when we modify them:
+In this mode, the server will run requests between pods more quickly, the videos duration are limited to a few seconds.
- $ npm run dev
+To develop on the server side (server files are automatically compiled when we modify them and the server restarts automatically too):
+
+ $ npm run dev:server
+
+The server (with the client) will listen on `localhost:9000`.
+
+
+To develop on the client side (client files are automatically compiled when we modify them):
+
+ $ npm run dev:client
+
+The API will listen on `localhost:9000` and the frontend on `localhost:3000` (with hot module replacement, you don't need to refresh the web browser).
**Username**: *root*
**Password**: *test*
@@ -240,19 +251,19 @@ Here are some simple schemes:
-
+
-
+
-
+
-
+
-
+