follow the steps to setup pivot_backend locally (granted git and python is installed on your distro/os)
-
git clone https://github.com/DolanDark/job_assignment_pivotroots.git
-
cd pivot_backend/
-
python3 -m venv venv
run this if venv isnt installed >> (sudo apt-get install -y python3-venv) as for windows it should come preinstalled
-
source venv/Scripts/activate (if windows system) | source venv/source/activate (if linux system)
-
pip install -r requirements.txt
-
python app.py (depending on what the env variable for python3 is on your system)
-
cd pivot_frontend
-
npm install (install all necessary packages)
-
npm start
-
npm run build (when deploying)