GlobalExamBot/README.md
2023-02-13 10:30:19 +01:00

30 lines
1000 B
Markdown

# <p align="center">GlobalexamBot</p>
Bot for the website Globalexam. It helps to spend more than 20 hours on it by reading sheets.
## 🛠️ Install Dependencies
```bash
python -m pip install -r requirements.txt
```
You also need to install google chrome v104.x, if you want to use the provided chromedriver.
The provided chromedriver works only on a Linux system.
You can replace it by another one by downloading it here : [https://chromedriver.chromium.org/downloads](https://chromedriver.chromium.org/downloads)
## 🧑🏻‍💻 Usage
```bash
python main.py -u <username> -p <password>
```
Without headless mode :
```bash
python main.py -u <username> -p <password> --noheadless
```
Run with docker with volume (for logs) or not :
```bash
docker build -t globalbot .
or
docker pull j4rj4r/globalexambot:latest
docker run --shm-size=1g -d -it globalbot -p <password> -u <username>
docker run --shm-size=1g -d -v $PWD/data:/app/data -it globalbot -p <password> -u <username>
```