The process to get the application running is typically:
-
Clone the feature/phase_1 branch
git clone https://github.com/evoluteio/evo-ui.git -b feature/phase_1
-
run
npm installin the following directories:evo-ui[feature/phase_1] latest/dataHandling/package.json
evo-ui[feature/phase_1] latest/evoluteData/package.json
evo-ui[feature/phase_1] latest/frontend/package.json
evo-ui[feature/phase_1] latest/package.json
-
Import relevant MongoDB data
System (Aggregation) - current_container_stats and container_stats collections
Applications and Services - app_infos and service_infos collections, e.g.:
$ mongorestore --db evolute --collection service_infos mongobackups3-service_infos/evolute/service_infos.bsonSource: http://bit.ly/EvoUIExampleData
-
Build backend and frontend
evo-ui[feature/phase_1] scripts/build.sh
-
Start all
evo-ui[feature/phase_1] scripts/start.sh
-
Stop application backend and frontend
evo-ui[feature/phase_1] scripts/stop-db-app.sh
-
Start all
evo-ui[feature/phase_1] scripts/stop-db-app.sh
-
Start backend and frontend
evo-ui[feature/phase_1] latest/evoluteData $ node evoluteData.js
evo-ui[feature/phase_1] latest/frontend $ npm run dev
- Access UI via http://localhost:8080