Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

vss365today/web

Repository files navigation

#vss365 today Web

Get the latest #vss365 prompt

Required Secrets

  • Flask secret key (SECRET_KEY_WEB)
  • Mailgun abuse email address (ABUSE_EMAIL_ADDR)
  • Running instance of #vss365 today API v2
    • Operating domain (API_DOMAIN)
    • API key with has_archive, has_notification, has_hosts, has_prompts, and has_emails permissions (API_AUTH_TOKEN)
  • Static files hosting URL (prod only) (STATIC_FILES_URL)

Development

  1. Install Python 3.10+, Poetry 1.3.0+, and VS Code
  2. Create required secret keys in appropriate place (default: /app/../secrets)
  3. Adjust configuration values in appropriate configuration/*.json files as necessary
  4. Run poetry install
  5. Launch the app using the provided VS Code launch configuration

SVG icons sourced from Heroicons.

Build

Creating a Docker image will install all required components. Creating an image is a one-line command:

  1. docker build -t vss365today-web:latest .

License

2019-2023 Caleb

MIT