2022-06-30 19:22:54 +02:00
|
|
|
# Browser automatisation for School portal substitution plan
|
|
|
|
|
|
|
|
1. Change `env.sampe` to `.env`
|
2022-09-06 13:52:20 +02:00
|
|
|
2. Fill **.env** with your **credentials** (Use your school's address for the login (e.g. schoolUrl = "https://login.schulportal.hessen.de/...XXX"))
|
2022-06-30 19:22:54 +02:00
|
|
|
3. Install the necessary Chromedriver from here https://chromedriver.chromium.org/downloads
|
|
|
|
4. Place the Chromedriver in this folder under the name `chromedriver`
|
2022-06-30 19:32:03 +02:00
|
|
|
5. Install necessary python libraries `pip install -r requirements.txt`
|
2022-06-30 19:22:54 +02:00
|
|
|
|
|
|
|
## Important
|
2022-06-30 21:27:12 +02:00
|
|
|
- Chrome must be installed on your device
|
|
|
|
- Make sure you have put both projects in the same **main folder** so everything works
|
2022-09-06 13:52:20 +02:00
|
|
|
- The Chromedriver and Chrome must have the same version (e.g. version 105)
|
2022-06-30 19:22:54 +02:00
|
|
|
|
|
|
|
**For example**:\
|
|
|
|
Main folder: `school-portal-substitution-plan`\
|
|
|
|
Browser folder: `school-portal-substitution-plan\school-portal-substitution-plan-browser`\
|
2022-06-30 21:30:05 +02:00
|
|
|
Chat folder: `school-portal-substitution-plan\school-portal-substitution-plan-matrix-chat-bot`
|