Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/production ready build #26

Closed
wants to merge 4 commits into from
Closed

Commits on Oct 11, 2023

  1. Rework main application to add subcommands that allow for 3 different…

    … app modes:
    
    1. debug mode runs the app in a single build, the data is cached in process memory and the Flask app is served at the same time
    2. reader mode runs just the Flask app and it reads the cache from a Filesystem cache
    3. writer mode runs just the update thread cycle which loops continuosly and writes to a Filesystem cache
    
    Running reader and writer fpointing to the same filesystem cache dir should be safe for simple production use
    pharr117 committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    d3a90ad View commit details
    Browse the repository at this point in the history
  2. Move flask app returning into factories for debug and production mode…

    …s (can be used by gunicorn now)
    pharr117 committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    7c09bc3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4cdd7f7 View commit details
    Browse the repository at this point in the history
  4. Precommit

    pharr117 committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    fc91609 View commit details
    Browse the repository at this point in the history