-
Notifications
You must be signed in to change notification settings - Fork 342
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
Can we move the "settings.yml" into the database? #301
Comments
settings.yml
into the database?
I'm not quite sure what you mean by "the only way for that to work is if this value was stored in the database." Before you can upload data, some initial setup is required during installation, including making changes to settings.yml. The app does not require you to have All that's required to be able to upload services is to either update or delete the default valid service areas in settings.yml. I'm not convinced that storing settings in the database would make that much easier. In a typical installation, settings.yml will rarely change after initial setup, so to me, it doesn't make sense to add complexity in order to make it slightly easier to update settings that will only occasionally change. However, I'm open to hearing more convincing arguments that clearly show how storing settings in the database is a much better solution that is worth the additional development effort. |
In that case, can we remove at least parts that are blocking a smooth web-based onboarding? The default |
I almost forgot the |
By web-based onboarding, do you mean Heroku deployment? The app is not meant to be deployed as is with the default settings. Part of the installation process is properly configuring If your data includes The bottom line is that you must properly configure As for settings like |
Yes, I mean Heroku deployment via
I get everything you're saying. I don't think this field has to be empty by default, but why can't the |
Storing valid service areas as a comma-separated string would make the values much less convenient to read and edit when you have many service areas. How are you currently allowing the user to modify the ENV values? Can't you just create a new web page in the onboarding process that updates the values in |
That would be fine on anywhere but Heroku, which has a read-only file system. |
I seem to recall there was a discussion on this, but I forget what was decided. I think it would add a lot of flexibility to the app, and allow the admins to have full control of the setting from the web interface. It's also necessary to change the
valid_service_areas
during the onboarding process in order for the service uploads to work and the only way for that to work is if this value was stored in the database.The text was updated successfully, but these errors were encountered: