mobeck15 / Game-Library

A database to track video game cost, play time, and other statistics.
GNU General Public License v3.0
0 stars 0 forks source link

prompt for and create secrets.py if it does not exist #1

Open mobeck15 opened 3 years ago

mobeck15 commented 3 years ago

secrets.py is a local file holding passwords that is not included in github. To streamline setup, this should be created at runtime with prompts when the script detects the file is not present.

mobeck15 commented 3 years ago

Probably need to also move secrets.py to settings.json using config file code

https://martin-thoma.com/configuration-files-in-python/

Then add wrapper in the config manager to prompt for configs missing and save them.