Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.61 KB

README.md

File metadata and controls

54 lines (42 loc) · 1.61 KB

conference-starter

Circuit Conference Starter

Bot that starts a conference and dials out members on a scheduled time.

Consists of:

  • Web app to schedule meetings. Uses vue2 with vue2-datepicker.
  • Webserver to host web app and serve REST endpoints
  • Scheduler. Uses node-schedule.
  • Circuit SDK bot module that starts conference at given time and dials out members. Uses puppeteer to control headless chrome instances so that JS SDK with WebRTC can be used.

Live on gcloud App Engine at https://conference-starter-dot-atos-ucc-circuit-cpaas.appspot.com/

Configuration

Edit config.json with domain, client_id and client_secret for your system. Environment variable SYSTEM will determine which config to use.

Webserver port is taken from PORT environment variable, and if not defined from config.json.

// config.json
{
  "credentials": {
    "sandbox": {
      "domain": "circuitsandbox.net",
      "client_id": "<client_id>",
      "client_secret": "<client_secret>"
    },
    "eu": {
      "domain": "eu.yourcircuit.com",
      "client_id": "<client_id>",
      "client_secret": "<client_secret>"
    }
  },
  "webserver": {
    "port": 1337
  },
  "system": "sandbox"
}

Build Setup

# install dependencies and build/run webapp in production
npm install
npm start

# serve with hot reload at localhost:8080 for development of web app
cd vue-app
npm run dev