-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Our project is primarily hosted on Google Cloud as a collection of microservices. Our project is designed as a microservice monorepo stored on GitLab. Using Docker and containerization, we abstract most of the dependencies within containers. Within the operating environment, a few requirements must be met. Below is a guide on installing the requirements, downloading the project, and deploying the application. External Requirements: Docker: https://docs.docker.com/get-docker/ Python: https://www.python.org/downloads/ npm/Node.js: https://nodejs.org/en/download/ Go: https://go.dev/doc/install Cloning the Repository - In a terminal window, enter this command:
git clone https://git.ece.iastate.edu/sd/sdmay22-35.gitAll the following commands are run from the root of the sdmay22-35 folder; the following commands are how to run each service locally. Each service is web-based and can be hit via a web browser or through Postman. The URLs will be exposed in the terminal after each application has been started.
API
cd api
go build -o bin/go-rest-api main.go
go run main.goAssistant
cd assistant/src
pip3 install -r requirements.txt
python3 app.pyInflux
cd data/influx/src
pip3 install -r requirements.txt
python3 app.pyNeo4j
cd data/neo4j/src
pip3 install -r requirements.txt
python3 app.pyFrontend
cd frontend
npm run devAnomaly
cd data/neo4j/src
pip3 install -r requirements.txt
python3 app.pyPrediction
cd data/neo4j/src
pip3 install -r requirements.txt
python3 app.py