Skip to content

Installation Guide

Ronny Mathew edited this page Dec 14, 2017 · 1 revision

Prerequisites:

Installation Steps

Core Module

  • cd into PhaseC/server folder
  • If required, update the mongo setting inside application.properties
  • Start mongoDB, if not already running with sudo mongod
  • The core java engine is a Maven project and can be installed using: mvn clean && mvn install
  • Start the spring Application mvn spring-boot:run (make sure to not put a space between spring-boot:run)

UI Build

  • cd into PhaseC/client/cloneApp folder
  • The UI framework is based on angular and can be installed using: npm install
  • Start the UI server using npm start
  • Once the server is started, you can access it from http://localhost:4200/

Analytics Server

  • This is to start the python flask based backend module that productions predictions
  • cd into the PhaseC/analytics folder
  • Run pip install -r requirements.txt
  • Run pip install scipy
  • Start flask server with the following commands Click here for more help:
export FLASK_APP=analytics.py
flask run
  • Keep the console open to keep the server running
  • You should be able to see the SmartScore on the Report page now
Clone this wiki locally