- clone project with git using:
git clone https://github.com/khalilrached/timetable-ortools
- or download it on zip format from this link.
-
after downloading the project we need to setup the virtual environment with venv (usually comes by default with python.)
-
go to the project folder:
cd your/path/to/timetable-ortools
- init new venv in
your/path/to/timetable-ortools
:
python -m venv env
- activate venv:
source env/bin/activate
- install dependencies requirement:
python -m pip install -r requirements.txt
# or
pip install -r requirements.txt
- first Row is for teachers.
- second row for courses.
- third and last row for rooms.
python generate-timetable.py