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

Create config object levels #53

Closed
8 tasks done
Amertz08 opened this issue Feb 1, 2018 · 0 comments
Closed
8 tasks done

Create config object levels #53

Amertz08 opened this issue Feb 1, 2018 · 0 comments
Assignees
Labels

Comments

@Amertz08
Copy link
Owner

Amertz08 commented Feb 1, 2018

Overall

  • Create config.py that has 4 classes. Config, DevelopmentConfig, TestingConfig, ProductionConfig All should inherit from Config
  • Create dict config that has development, testing, production, default config levels as keys, Config objects as values. default should be DevelopmentConfig
  • Integrate loading config into application factory

Config

  • init_app static method that takes in app and does nothing i.e. pass
  • SECRET_KEY = RANDOM_HASH

DebugConfig

  • DEBUG = True

TestingConfig

  • TESTING = True

ProductionConfig

  • pass for now

Depends on #51 being finished

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants