https://github.com/ringcentral/engage-digital-sdk-source-glip
RingCentral Engage Digital Dimelo SDK source: glip
https://github.com/ringcentral/engage-digital-sdk-source-glip
Last synced: 11 months ago
JSON representation
RingCentral Engage Digital Dimelo SDK source: glip
- Host: GitHub
- URL: https://github.com/ringcentral/engage-digital-sdk-source-glip
- Owner: ringcentral
- License: mit
- Created: 2019-10-24T06:12:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T00:44:50.000Z (over 3 years ago)
- Last Synced: 2025-03-16T17:17:14.093Z (over 1 year ago)
- Language: JavaScript
- Size: 2.02 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# engage-digital-sdk-source-glip
RingCentral Engage Digital Dimelo SDK source: glip
## Youtube video
[https://youtu.be/Gu0GJ86nSEs](https://youtu.be/Gu0GJ86nSEs)
## Prerequisites
- Nodejs 8.10+/npm, recommend using [nvm](https://github.com/creationix/nvm) to install nodejs/npm.
- RingCentral Engage(Dimelo) account, [request a demo](http://site.dimelo.com/en/demo#schedule-demo).
## Quick start
Let's start a simple RingCentral Engage source server for Glip.
```bash
# install dependecies
npm i
# start proxy server, this will make your local bot server can be accessed by RingCentral service
npm run ngrok
# will show
Forwarding https://xxxx.ap.ngrok.io -> localhost:6066
# Remember the https://xxxx.ap.ngrok.io, we will use it later
```
Follow [Step by step guide to enable SDK source](https://github.com/ringcentral/engage-digital-source-sdk-js/blob/master/docs/enable-sdk-source.md) to prepare the source.
```bash
# create env file
cp sample-env.env .env
# then edit .env, set proper setting according to the tip in .env
# run local dev server
npm start
# run front end server
npm run c
```
Then visit `https://xxxx.ap.ngrok.io`, fill in the required fields to get it to work.
### Test source server
Save your source, your server will get request, you check the request log from console.
## Build
```bash
npm run build
```
## Run production code
```bash
node dist/server/run-server.js
```
## Build and deploy to AWS Lambda
[https://github.com/ringcentral/engage-digital-source-sdk-js/blob/master/docs/deploy-to-lambda.md](https://github.com/ringcentral/engage-digital-source-sdk-js/blob/master/docs/deploy-to-lambda.md)
## License
MIT