Skip to content

Latest commit

 

History

History
108 lines (73 loc) · 3.37 KB

deploy-dashboard-and-microservice.md

File metadata and controls

108 lines (73 loc) · 3.37 KB

Back to TOC

Simple install

Installing and running Concorda's Administration Dashboard

Clone github repository for Concorda Dashboard

git clone [email protected]:concorda/concorda-dashboard.git

then

  1. Run npm install to install all dependencies
  2. Copy config/sample.vars.env to config/production.env and add there the right configuration.
  3. In your config/production.env file leave
    • EXTERNAL_API=false - this controls if the services will be exposed using a different Hapi Server instance.
    • EXTERNAL_CORE=true - this controls if the core implementation of Concorda will be running as a separate microservice.
  4. Set true what type you want to use for transport between client application and Concorda: mesh or tcp.
    • Recommendation is to use TCP transport but also mesh or other types of transport (HTTP/HTPS) can be used.
    • Example:
USE_MESH=false   
USE_TRANSPORT=true   
TRANSPORT_TYPE=tcp
  1. Run npm run build to build the project.
  2. Run npm start to start application and server on port 3050 (or whatever you specified in the production.env file)

Installing and running Concorda microservice

Clone github repository for Concorda Dashboard

git clone [email protected]:concorda/concorda.git

then

  1. Run npm install to install all dependencies
  2. Copy config/sample.vars.env to config/production.env and add there the right configuration.
  3. In your config/production.env file leave
    • EXTERNAL_API=false - this controls if the services will be exposed using a different Hapi Server instance.
    • EXTERNAL_CORE=false - this controls if the core implementation of Concorda will be running as a separate microservice.
  4. Set true what type you want to use for transport between client application and Concorda: mesh or tcp.
    • Recommendation is to use TCP transport but also mesh or other types of transport (HTTP/HTPS) can be used.
    • Example:
USE_MESH=false   
USE_TRANSPORT=true   
TRANSPORT_TYPE=tcp
  1. Run npm start to start application and server on port 3070 (or whatever you specified in the production.env file)

Installing with Fuge

Requirements

The basic tools are:

Install these before getting started.

Installing

Clone github repository for Concorda Fuge

git clone [email protected]:concorda/concorda-fuge.git

This project is using Fuge to start the required deployment.

How to use this code

$ npm install

to get the dependent Node.js modules.

How to start

You can start demo system by using the fuge commands. from inside concorda-fuge folder

$ fuge shell system_concorda_microservice.yml
? fuge> start all

Diagram

IMPORTANT NOTES

  1. By default the following user is added to Concorda as part of initial setup: [email protected]/concorda
  2. It is very important that after you started Concorda for the first time to login and change administrator password and e-mail.
  3. Now you need to install and use concorda-client in your application as described here