Run py -3 -m pip install -U -r requirements.txt
in command prompt.
Python modules:
- requests
- beautifulsoup4
- lxml
- PyMySQL with RSA
py -3 -m pip install -U requests beautifulsoup4 lxml PyMySQL[rsa]
Чтобы настроить NetSchool и MySQL:
Создайте файл /config.json
со следующим содержанием:
{
"db_hostname": "{host}",
"db_username": "{username}",
"db_password": "{password}",
"db_name": "{database}",
"file_upload_key": "{file_upload_key}",
"netschool_username": "{netschool_username}",
"netschool_password": "{netschool_password}"
}