sudo apt update
sudo apt install nodejs
sudo apt install npm
Inside api
folder
-
Create virtual environment with
python3 -m venv drought_ass
-
source drought_ass/bin/activate
to activate the virtual environment -
python3 -m pip install -r requirements.txt
to install the dependencies w -
python3 app.py
In the root directory
-
Install dependencies with
npm install
-
npm run start
will start app on http://localhost:3000/