Merge branch 'develop' of github.com:havfo/multiparty-meeting into develop
commit
abb5b2b231
18
README.md
18
README.md
|
|
@ -31,10 +31,10 @@ $ cd multiparty-meeting
|
|||
$ cp server/config.example.js server/config.js
|
||||
```
|
||||
|
||||
* Copy `app/config.example.js` to `app/config.js` :
|
||||
* Copy `app/public/config.example.js` to `app/public/config.js` :
|
||||
|
||||
```bash
|
||||
$ cp app/config.example.js app/config.js
|
||||
$ cp app/public/config.example.js app/public/config.js
|
||||
```
|
||||
|
||||
* Edit your two `config.js` with appropriate settings (listening IP/port, logging options, **valid** TLS certificate, etc).
|
||||
|
|
@ -44,17 +44,10 @@ $ cp app/config.example.js app/config.js
|
|||
```bash
|
||||
$ cd app
|
||||
$ npm install
|
||||
$ export NODE_ENV=production
|
||||
$ gulp dist
|
||||
$ npm run build
|
||||
```
|
||||
This will build the client application and copy everythink to `server/public` from where the server can host client code to browser requests.
|
||||
|
||||
* Globally install `gulp-cli` NPM module (may need `sudo`):
|
||||
|
||||
```bash
|
||||
$ npm install -g gulp-cli
|
||||
```
|
||||
|
||||
* Set up the server:
|
||||
|
||||
```bash
|
||||
|
|
@ -68,7 +61,8 @@ $ npm install
|
|||
* Run the Node.js server application in a terminal:
|
||||
|
||||
```bash
|
||||
$ node server.js
|
||||
$ cd server
|
||||
$ npm start
|
||||
```
|
||||
* test your service in a webRTC enabled browser: `https://yourDomainOrIPAdress:3443/roomname`
|
||||
|
||||
|
|
@ -95,7 +89,7 @@ $ systemctl enable multiparty-meeting
|
|||
## Ports and firewall
|
||||
|
||||
* 3443/tcp (default https webserver and signaling - adjustable in `server/config.js`)
|
||||
* 3000/tcp (default `gulp live` port for developing with live browser reload, not needed in production enviroments - adjustable in app/gulpfile.js)
|
||||
* 4443/tcp (default `npm start` port for developing with live browser reload, not needed in production enviroments - adjustable in app/package.json)
|
||||
* 40000-49999/udp/tcp (media ports - adjustable in `server/config.js`)
|
||||
|
||||
## TURN configuration
|
||||
|
|
|
|||
Loading…
Reference in New Issue