/tiledesk-server

Tiledesk server. Tiledesk is an Open Source Live Chat platform written in NodeJs, firebase and Angular.

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

npm version

Build Status

Introduction

Tiledesk-server is the server engine of Tiledesk. Tiledesk is an Open Source Live Chat platform with integrated ChatBot written in NodeJs and Express. Build your own customer support with a multi-channel platform for Web, Android and iOS. More info here https://www.tiledesk.com.

Prerequisites

  • Nodejs and npm installed

Installation

Steps to run locally:

npm install -g tiledesk-server mongodb-runner
mongodb-runner start
FIREBASE_CONFIG_FILE=<FIREBASE_CONFIG_PATH.json> DATABASE_URI=mongodb://localhost/test tiledesk-server  

Note: If installation with -g fails due to permission problems (npm ERR! code 'EACCES'), please refer to this link.

Running Tiledesk Server elsewhere

Install from source code

  • Clone this repo
  • Install dependencies with 'npm install'
  • Configure Firebase
    • Set Firebase databaseURL in config/firebase.js file
    • Set the following Firebase parameters: process.env.FIREBASE_PRIVATE_KEK, process.env.FIREBASE_CLIENT_EMAIL, process.env.FIREBASE_PROJECT_ID;
  • Configure MongoDb account in config/database.js file
  • Run the app with the command 'npm start' or with 'nodemon' if you want monitoring and auto reload. Install nodemon with 'npm install -g nodemon'

Deploy on Heroku

Deploy with button:

Deploy

To see the log run :

heroku logs  -n 2000 --tail -a tiledesk-server

To use a custom domain with AWS Route 53 see https://devcenter.heroku.com/articles/route-53

REST API

See the Tiledesk REST API here