wesnoth / wesnoth-multiplayer-data-dashboard

This is a dashboard that allows you to query and visualize data that the Wesnoth Project collects about multiplayer games played on the official server.
2 stars 0 forks source link

Use a config file #10

Closed max-torch closed 9 months ago

max-torch commented 9 months ago

In the context of app configuration, the app now reads from .json files if it's expected environment variables are unset. When running tests, the pytest-env dependency is now optional.

Closes #5

soliton- commented 9 months ago

I don't think it's useful to put the config files in a dot dir. We don't want to hide them.

Is it useful to have multiple config files? I could see a split between regular and security sensitive settings so that you can share/version/whatever one file and keep the other private but that's not the current split.

max-torch commented 9 months ago

Please note that the app deployment instructions have now changed very slightly. Instead of gunicorn --bind :$PORT main:server you will now have to use gunicorn --bind :$PORT app:server.

max-torch commented 9 months ago

PR looks to be in a good place now. I will merge to main in 2 days.