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

Make config paths have some alternate locations #139

Open
mpdehaan opened this issue Sep 17, 2019 · 0 comments
Open

Make config paths have some alternate locations #139

mpdehaan opened this issue Sep 17, 2019 · 0 comments

Comments

@mpdehaan
Copy link
Member

Currently the app really wants to use "/etc/source_optics" as is specified in settings.

While the user CAN change this, settings.py is in source control, and "/etc/source_optics/conf.d" is NOT, so changing this means an update to the source code would put those changes back or risk getting included in a PR.

What I would suggest is that settings.py be coded to try to use "~/.source_optics" if it exists, and if NOT, then use the "/etc/" location.

We can also make the generate_secret management command work this way as well, as well as secret loading. In fact, we have to do both to finish this ticket out. It's a pretty easy code change.

@grayaii

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

No branches or pull requests

1 participant