This project is designed to collect all user bets on the site stake.com and analyze them. Using the WEB GUI, you can set various filters and add telegram channels to receive information about bets. All data is saved to a database.
-- Don't forget to set up config files in api and scraper folders (configuration/config.yaml) and database (database/settings.py)
Install Docker and Docker Compose.
Then, clone this repository and run:
docker-compose up -d --build
After that, check if the web application is running correct:
docker-compose logs -f CONTAINER_ID
If errors are shown, simply restart the web container:
docker-compose restart CONTAINER_ID
To change the database configuration, edit the file api/database/settings.py
.
It is possible to use a different database engine, such as MySQL or PostgreSQL. To do that, change the ENGINE
parameter in the api/database/settings.py
file.
Scraper is not running by default. To run it, execute the following command:
Dir: scraper/
(Don't forget to install the requirements)
python3 main.py
It's recommended to run the scraper in a linux "demon" or "screen".