Update the package list:
sudo apt update
Clone this repository:
git clone https://github.com/OleksandrYanchar/Vacancies-Parser-Bot
(by defoult polling one time per day, to change it comment or delete last line in Dockerfile file and uncoment previous one )
default build:
sudo docker-compose up --build
build and run in the background:
sudo docker-compose up -d --build
Set up a virtual environment:
python3 -m venv venv
Activate the virtual environment:
source venv/bin/activate
Install required Python packages:
pip3 install -r requirements.txt
for polling bot all time
python3 main.py
for polling one time per day
celery -A my_schedule worker --loglevel=info