REST API for #vss365 today
- Flask secret key (
SECRET_KEY_API) - MariaDB instance + login keys (
DB_USERNAME,DB_PASSWORD,DB_HOST,DB_DBNAME) - Mailgun API key authorized domain and mailing list address (
MG_API_KEY,MG_DOMAIN,MG_MAILING_LIST_ADDR) - Twitter API v2 bearer token (
TWITTER_BEARER) - Archive download directory (
DOWNLOADS_DIR) - Prompt static images directory + temporary directory (
IMAGES_DIR,IMAGES_DIR_TEMP)
- Install Python 3.10+ and Poetry 1.3.0+
- Set missing configuration keys in appropriate
configuration/*.jsonfiles - Run
poetry install - Launch the app using the provided VS Code launch configuration
Note: when running in development mode, all email sending will be disabled and all email-related operations will pretend that they succeeded.
docker build -t vss365today-api:latest .
2019-2023 Caleb