-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the ampersand wiki!
Our Team:
- Aditi Pednekar
- Dhruti Patel
- Nikhil Kamble
Napkin Diagram: Architecture Diagram:
account-service
Contains google-authentication for user
greetings-service
Fetches username from google-authentication service
data-ingestor
Fetches URL from AWS
data-plotting
Plots the image from file
database
Keeps record of all user history
Pre-requisites
- Docker Desktop (Download -> https://www.docker.com/products/docker-desktop)
- MongoDB (Download -> https://www.mongodb.com/try/download/community)
-
Deploy account-service
cd account-service npm i npm start
-
Deploy greetings-service.
cd greetings-service npm i npm start
-
Deploy data-ingestor
cd data-ingestor docker build -t data-ingestor-image . docker run -d --name adscontainer1 -p 81:81 data-ingestor-image OR (to run without docker execute below 3 steps) cd data-ingestor
pip install -r requirements.txt
python -m uvicorn app.data_ingestor:app --reload --port 81 -
Deploy data-plotting
cd data-plotting docker build -t data-plotting-image . docker run -d --name adscontainer -p 82:82 data-plotting-image OR (to run without docker execute below 3 steps) cd data-plotting pip install -r requirements.txt
python -m uvicorn app.main:app --reload --port 82 -
Deploy database
- Open terminal:
Type "mongod"
- If above command gives error follow the steps given below for Windows
create directory "data" in C drive go inside "data" directory create directory "db" Run "mongod" command again
- Open another terminal
cd database npm run devStart
-
Deploy GUI
cd gui
npm i
npm start