Listed in requirements.txt. Another additional requirement for the selenium browser to run is the Chromium WebDriver which can be downloaded from the official website.
-
Create a python virtual environment anywhere in the system using the command:
python -m venv env
It will create a virtual environment folder named
env
on the current working directory where you executed the command. -
Activate the virtual environment:
- For Windows systems
env\Scripts\activate
- For Linux / macOS systems
source env/bin/activate
- For Windows systems
-
Install the required dependencies using:
pip install -r requirements.txt
-
Download the Chromium WebDriver here, place it anywhere in the system, and add the location to the system's environment variables' path).
-
Change the contents of
asdosan.txt
to the github usernames you want to check. -
Change the
os_repo
variable to the desired repository to check andos_week
variable to the current week in thekoreksi.py
file.Example:
os_repo = 'os211' os_week = 'W03'
Before you run the program make sure that the virtual environment is activated. After that use the following command to start checking:
python koreksi.py