Simplifying setup environment variables #3347
Closed
domdomegg
started this conversation in
Feature Ideas
Replies: 1 comment
-
@domdomegg thanks for suggesting this. Because your suggestion is a code-related change, I've converted it into an issue. That will help us track it better with other proposals for code-related changes. We're trying to use GitHub discussions for more open-ended Q&A going forward, though admittedly we still have lots of previous discussions which don't fit this pattern. Anyway, I'm closing this discussion now to track it in the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think it should be easy as possible to get Mathesar up and running in an appropriate configuration. This would help gain new users.
One of the steps on the critical path to onboarding is having to set envrionment variables. Currently there are four required environment variables: https://docs.mathesar.org/configuration/env-variables/. Each of these is an opportunity to make a mistake, and adds complexity to the setup process.
I think we can narrow it down to just the DJANGO_DATABASE_URL:
*
, so it can be removed from required configuration. This may require a review of the code to check where we might return the host header or make decisions on it, to ensure this does not leave the default configuration to Host header attacks - however, it's reasonably likely that this is possible to do.Beta Was this translation helpful? Give feedback.
All reactions