Code Monkey home page Code Monkey logo

statistics-service's Introduction

Try Restcomm Cloud NOW for FREE! Zero download and install required.

All Restcomm docs and downloads are now available at Restcomm.com.

Restcomm Statistics Service

The Restcomm Statistics Service is a web application that processes statistics collected on the modules restcomm platform.

This application persists the collected data into a database and displays the results via a dashboard or through a rest api.

This manual describes step by step to install the application on a OpenShift environment.

Installation Instructions (Openshift Enviroment)

First, you need to create an account on OpenShift environment. (https://www.openshift.com/).

Step 01 - Create a New Application

Click on link create you first application now...

Create a new application

Step 02 - Select Wildfly 10 App Server (current version)

Create a new application

Step 03 - Define your Public URL

Create a new application

continue...

Create a new application

And click on Create Application button.

After that, it will be presented the entire information of the new environment.

Create a new application

Step 04 - Add MongoDB

Click on Continue to the application overview Page

Create a new application

And select Add MongoDB 2.4 (current version)

Create a new application

Now your enviroment are complete!

Create a new application

Step 05 - Generate Public SSH KEY

Now you need to create a public SSH Key and add to your environment (for remote access).

Example of Generating Public SSH Key (linux enviroment).

Create a new application

Put the generated key in Openshit Enviroment. Click in Settings menu and add public key button.

Create a new application

Step 06 - Create Application Admin Account

Now you need to create an application administrator account to access the web module. The web portal uses JAAS API to perform user authentication.

Access you enviroment using ssh:

ssh [you enviroment url]

Go to wilfly/bin directory

cd wildfly/bin

Now you need run ./add-user.sh script

Create a new application

  1. Select (b) Application User

  2. Define your username;

  3. Define your password;

  4. Define your group name called Administrator. This is very important because the web module uses this group internally.

Step 07 - Deploy Statistics Web Module

In this step you need make a git clone of https://github.com/RestComm/statistics-service and put .war file into deployments folder.

Finally - Access the web portal

Create a new application

Put you username and password.

Create a new application

statistics-service's People

Contributors

rlimonta avatar ivelin avatar deruelle avatar

Watchers

James Cloos avatar Caio Ferreira avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.