-
Notifications
You must be signed in to change notification settings - Fork 6
Milestone 2
Languages Used:
- Front-End: React.JS
- Back-End: Java, Python, Node.js
git clone git@github.com:airavata-courses/PingIntelligence.git
cd PingIntelligence/
git checkout milestone_2
cd apigateway/
Install dependencies
npm install
Start the default node server on 3001 (node gateway.js)
npm start
cd mainuploadmgmt/
Open this directory in the IDE. Set up the Eclipse project with the pom.xml
Update Maven project
Run as > Clean Build
Run MainuploadmgmtApplication.java file.
cd metadata-extraction-service/
Open this directory in the IDE. Set up the Eclipse project with the pom.xml
Update Maven project
Run as > Clean Build
Run UploadingFilesApplication.java file.
cd metadataextractorsearch/
set up virtual for django project
python -m venv venv
source venv/scripts/activate to activate the virtual environment
on Windows
.\venv\Scripts\activate
download dependencies
pip install -r requirements.txt
migrate the database with
python manage.py makemigrations
python manage.py migrate
in order to run the server
python manage.py runserver
cd usermgnt/
Open this directory in the IDE. Set up the Eclipse project with the pom.xml
Update Maven project
Run as > Clean Build
Run PhotosqaudusermgntApplication.java file.
cd ui/
npm install
npm start
Access the UI using the address: http://localhost:3000/
kafka version : kafka_2.12-2.2.0
to start zookeeper : to go this path 18126@DESKTOP-2ORIMG7 MINGW64 ~/Downloads/kafka_2.12-2.2.0/bin/windows $ pwd /c/Users/18126/Downloads/kafka_2.12-2.2.0/bin/windows
then > put below script for zookeeper zookeeper-server-start.bat ../../config/zookeeper.properties
to start kafka : for kafka server go to below path : 18126@DESKTOP-2ORIMG7 MINGW64 ~/Downloads/kafka_2.12-2.2.0/bin/windows $ pwd /c/Users/18126/Downloads/kafka_2.12-2.2.0/bin/windows and write for kafka start >>>>
kafka-server-start.bat ../../config/server.properties
Create topic : topic name is "test" kafka-topics -zookeeper localhost:2181 -topic test -create
cd uploadgoogledrive/
python uploadphtotostodrive.py