-
Notifications
You must be signed in to change notification settings - Fork 2
Home
prernaa96 edited this page Feb 10, 2022
·
35 revisions
For this weather application we are using the following technology stack:
- ReactJS (Frontend)
- NodeJS (Backend - AuthService)
- Java Springboot (Backend - CacheService)
- Python (Backend - Data Ingestor)
- MongoDB (Database)
We just need to run the following script to run the entire application :
- Create a new directory in your local machine
- Open a terminal in the folder created above and run "git clone https://github.com/airavata-courses/DSDummies.git"
- Type cd DSDummies (only folder in the directory)
- Run the individual commands as listed or run the script.
-
chmod 755 start.sh
-
./start.sh
Alternatively, if not using script or it doesn't runs for you, the following commands would work for deploying the application on docker as well:
-
cd Client ( You need to go into the "Client" directory )
- make build
-
cd ../Auth. ( You need to go into the "Auth" directory )
- make build
-
cd ../cache. ( You need to go into the "cache" directory )
- make build
-
cd ../Data\Ingestor/ ( You need to go into the "Data\Ingestor" directory )
- make build
-
cd ..
-
make run-dev (From root directory)
- This shall spawn all the containers and then you would be able to open localhost://3000
- This shall open up a login page, if you're a first time user , then click on register.
- Once you register, go to login and put in your credentials.
- It shall open a US map with drop down boxes for data and time as well as specifying video option.
- Put in the radar station name, date and time, choose if you want to select a video or not, then click on getplot.
- This will fetch you the result from the aws and show a plotted graph of the received data.