-Prototype of a decentralized video streaming platform using P2P (bittorrent) directly in the web browser with <a href="https://github.com/feross/webtorrent">WebTorrent</a>.
+Decentralized video streaming platform using P2P (BitTorrent) directly in the web browser with <a href="https://github.com/feross/webtorrent">WebTorrent</a>.
</h4>
<p align="center">
</h4>
<p align="center">
@@ -26,7+26,7 @@ Prototype of a decentralized video streaming platform using P2P (bittorrent) dir
-Then edit the `config/production.yaml` file according to your webserver configuration.
+Then edit the `config/production.yaml` file according to your webserver configuration. Keys set in this file will override those of `config/default.yml`.
Finally, run the server with the `production` `NODE_ENV` variable set.
$ NODE_ENV=production npm start
Finally, run the server with the `production` `NODE_ENV` variable set.
$ NODE_ENV=production npm start
+The administrator password is automatically generated and can be found in the logs. You can set another password with:
+
+ $ NODE_ENV=production npm run reset-password -- -u root
@@ -172,8+178,12 @@ The following commands will upgrade the source (according to your current branch
### Development
### 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:
+
$ npm run dev
$ npm run dev
+The administrator password is displayed in the command output and can be found in the logs.