REINTEGRATED INTO PRODUCTION FOR UPDATES
an application of the fractional knapsack algorithm through a task scheduler application
Usage:
Initial installation:
- clone repository by
git clone https://github.com/08Aristodemus24/task-scheduler-app.git
- navigate to
client-side
folder and install dependencies by enteringnpm i
in terminal - to install python dependencies navigate to
server-side
folder withrequirements.txt
andmanage.py
file - enter
conda create -n <name of env e.g. task-scheduler-app-server> python=3.9.12
in terminal specifically in order to avoid package version conflicts
Running client-side application:
- to run application make sure to be in
client-side
folder withwebpack.config.js
file - run
npm start
in terminal to start development server at port8080
- write code
Running server-side application
- once environment is created activate it by running command
conda activate
- then run
conda activate task-scheduler-app-server
- check if pip is installed by running
conda list -e
- if it is there then move to step 8, if not then install
pip
by typingconda install pip
- if
pip
exists or install is done runpip install -r requirements.txt
in the directory whererequirements.txt
is - once done installing you can run server on port
8000
bypython manage.py runserver
Client side tasks:
Update react router code
To do:
- update react router Switch component to be compatible to version 6. Solution: remix-run/react-router#8753