An automation script to automate the orders reminder messages in the following way,
1. Scrap the orders data from clubfeast admin portal.
2. Preprocess the orders data and schedule them.
3. Send the reminder messages through 8x8 before the specified period of time for each order.
virtualenv venv
source venv/bin/activate
pip install selenium webdriver-manager beautifulsoup4 pandas pytz python-dotenv
# or
pip install -r requirements.txt
docker run -d -p 4444:4444 --shm-size="2g" selenium/standalone-chrome:latest
# Set ClubFeast User Creds.
_CLUBFEAST_USER_EMAIL = your_clubfeast_email
_CLUBFEAST_USER_PASSWORD = your_clubfeast_password
# Set 8X8 User Creds.
_8X8_USER_USERNAME = your_8x8_username
_8X8_USER_PASSWORD = your_8x8_password
# Set Orders Region to EAST or WEST.
ORDERS_REGION = EAST
# load_dotenv() -> load_dotenv()
python code.py
# Set ClubFeast User Creds.
_CLUBFEAST_USER_EMAIL = your_clubfeast_email
_CLUBFEAST_USER_PASSWORD = your_clubfeast_password
# Set 8X8 User Creds.
_8X8_USER_USERNAME = your_8x8_username
_8X8_USER_PASSWORD = your_8x8_password
# Set Orders Region to EAST or WEST.
ORDERS_REGION = EAST
docker compose up --build
# or
docker compose up --build --remove-orphans
# or
docker compose up --build --remove-orphans --abort-on-container-exit
# or
docker compose up --build --remove-orphans --abort-on-container-exit > script_logs.txt