Create an applications that would track/monitor sustainability by geographical locations that is managed/run by ConocoPhillips
- click code
- copy HTTPS link
- make sure you installed git, go to your terminal and type in
git clone https://github.com/citruscai/Sustainalytics.git
Once the folder is cloned, you will need to go cd into the directory of the cloned folder and open TWO command windows
- In first window, type command
cd front end
- run command
npm install
- then run command
npm start
this should start our react side
NOTE: YOU NEED TO SET UP AN .env FILE IN BACKEND FOLDER WITH DATABASE URL AND SECRET KEY FOR JWT MANAGER, IF YOURE MY GROUP MEMBER I WILL GIVE YOU IT JUST ASK ME, IF YOU'RE NOT YOU CAN LOOK UP ON HOW TO MAKE YOUR OWN
-
in second window run command
cd backend
of the folder -
run command
python -m venv venv
-
run
venv\Scripts\activate
-
run
pip install -r requirements.txt
-
then run
python app.py
All done! now you can go to localhost:3000 to view website :)