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 install
in 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
-
Base Collections Applications and Services - app_infos and service_infos Containers - current_container_stats Users and Groups - user_infos and group_infos Host Rings - hostRing_infos
-
Extraction and Aggregation Collections (Visualization Metrics) Extraction - container_stats, network_stats, error_stats, health_stats Aggregation - aggregated_container_stats, aggregated_network_stats, aggregated_error_stats, aggregated_health_stats
http://bit.ly/EvoUIExtractionAggregationDatasets
The following dataset is for reference and should be used to validate a similar structure is created from the document above.
-
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-app.sh
-
Stop database, application backend and frontend
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