-
Notifications
You must be signed in to change notification settings - Fork 1
Milestone 1
Kasturi Nikharge edited this page Aug 13, 2020
·
1 revision
- Front End: ReactJS
- Microservices: Python, Java/SpringBoot, NodeJS
- Database: MongoDB
Weak User Athentication No private Routes
- Register New User
- Login
- DashBoard (HomePage)
- SignOut
- Storing Activity details As Session
- Fetching Reflectivity Diagram for Input Date And Radar.
- User must be able to log in and Register into the application.
- User must be able to view different graphs/images based on his selections.
Before you can start with the steps below clone the repository.
- git clone https://github.com/airavata-courses/Brogrammers.git
- git checkout Release_Assignment1
- cd /Front_End_React
- Open Terminal for Front-End
- Install dependencies npm install
- Run the Front-end: npm start
- Import As "Existing Maven Project" into the IDE. (Recommended IDE -Eclipse, STS )
- Update the Maven project.
- Go to pom.xml > right-click > run > maven Build> Enter Goals: clean install > run
- Once Build is Successful go to "GatewayApplication.java" > right-click > Run > Run as Spring Boot Application.
- Import As "Existing Maven Project" into the IDE.(Recommended IDE -Eclipse, STS )
- Update the Maven project.
- Go to pom.xml > right-click > run > maven Build> Enter Goals: clean install > run
- Once Build is Successful go to "UserManagementApplication.java" > right-click > Run > Run as Spring Boot Application.
- Setting up the Database for User Management.>
- Install MongoDB https://docs.mongodb.com/manual/administration/install-community/
- Run below commands
> mongo
> use weather_prediction
> db.createCollection("User")
- Follow https://computingforgeeks.com/how-to-install-latest-rabbitmq-server-on-ubuntu-18-04-lts/ for Linux setup
(Recommended IDE - VS code )
- Prerequisites: Install Node.js Refer to https://nodejs.org/en/ to install nodejs
- Clone repository with git clone
- Open Terminal for Session Management
- Install node-modules: npm install
- To run the micro-service: npm start
- numpy
- boto
- pika
- pyart Reference: https://github.com/ARM-DOE/pyart/wiki/Simple-Install-of-Py-ART-using-Anaconda
pip install nexradaws
pip install boto
pip install pika
-
cd Data_Retrieval
-
python DataRetrieval.py
-
cd Model_Execution
-
python ModelExecution.py
-
cd Post_Analysis
-
python PostAnalysis.py
- Create an AWS account if you do not have one, it is free. https://aws.amazon.com/
- Follow the instructions Step 1. to generate your own AWS_ACCESS_KEY_ID and AWSSecretKey. Copy paste the values of these in PostAnalysis.py file
- Under Amazon S3 create a new bucket with access public. Name the bucket ads-plots Refer : https://havecamerawilltravel.com/photographer/how-allow-public-access-amazon-bucket/
The Reflexivity form in the Dashboard is synchronized to fetch different radar options. Simply add a four digit code out of any of these:
- KAMX
- KAPX
- KARX
- KATX
- KBBX
- KBGM
- KBHX
- KBIS
- KBLX
- KBMX
- KBOX
- KBRO
Make sure your date is of any day except today's date !
https://nexradaws.readthedocs.io/en/latest/Tutorial.html
https://www.ncdc.noaa.gov/data-access/radar-data/nexrad