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

Use Flask's standard configuration method #4

Merged
merged 2 commits into from
Jun 15, 2022
Merged

Conversation

mhall119
Copy link
Member

Move InfluxDB configuration info into a new default_settings.py file, and allow overwriting that using a local_settings.py file. This follows Flask's recommended best practices for storing configuration and authentication information.

Remove secret_store.py and its use in the code, as it's no longer needed.

Update the README.md with instructions for creating and using `local_settings.py. Also adds instructions for setting up a virtualenv to run the application in.

@Jayclifford345 Jayclifford345 merged commit 32e6e56 into master Jun 15, 2022
@Jayclifford345 Jayclifford345 deleted the mhall-changes branch June 15, 2022 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants