-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
Ronny Mathew edited this page Dec 14, 2017
·
1 revision
- Java 8
- Maven Windows [Already preinstalled on mac]
- Node.js
- npm (same link as above)
- mongoDB
- Python 3
- pip
- 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)
- 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/
- 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