diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 11:29:03 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 11:36:05 +0200 |
commit | 66dd264f7b15c05006faa00694c88c56794edc54 (patch) | |
tree | 7545d2f52b8019c128897c120dab7bcbafb586cd /README.md | |
parent | 69f616ab3aeefd6ce330600604df90f2f48bfe3b (diff) | |
download | PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.tar.gz PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.tar.zst PeerTube-66dd264f7b15c05006faa00694c88c56794edc54.zip |
Better build/dev scripts
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -183,9 +183,15 @@ The following commands will upgrade the source (according to your current branch | |||
183 | 183 | ||
184 | ### Development | 184 | ### Development |
185 | 185 | ||
186 | 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: | 186 | In this mode, the server will run requests between pods more quickly, the videos duration are limited to a few seconds. |
187 | 187 | ||
188 | $ npm run dev | 188 | To develop on the server side (server files are automatically compiled when we modify them and the server restarts automatically too): |
189 | |||
190 | $ npm run dev:server | ||
191 | |||
192 | To develop on the client side (client files are automatically compiled when we modify them): | ||
193 | |||
194 | $ npm run dev:client | ||
189 | 195 | ||
190 | **Username**: *root* <br/> | 196 | **Username**: *root* <br/> |
191 | **Password**: *test* | 197 | **Password**: *test* |