-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Self-hosted instances #826
Comments
See also #770 and #747 . It wasn't our intention to force other instances to link to us all over the place; it kind of grew like that and we haven't fixed it yet. I would rather have this be in configuration, not code forks. Since you've just gone through and changed them, can you share your list for where you found hard-coded assumptions? The ones I know about are:
Thanks. |
Sorry, I didn't find #770 when looking for this problem in the issues list. I think that is pretty much it indeed. This is a full table of the items and their locations that we currently adapted:
I think only a few additional configuration settings are necessary to filter out a lot of those words. I think most make sense to be put in the Global Site settings category. If your admins can be trusted with these settings, then I would put them there. It depends a bit on the instancing model used by codidact. It looks like all your communities are run in the same instance at the moment, but I heard about a migration you are currently doing which may necessitate them being disconnected from each other (with shared database?). |
PR 840 fixes part but not all of this issue, so this issue should remain open. |
Thank you for compiling together the list and starting PRs to make this more configurable. Regarding the footer, I have been thinking for a while (but not had any time, unfortunately :[ ) to make it fully configurable from within the UI, instead of just adding variables for a few instance-specific things. I might look into that in about a month from now, unless someone else takes an attempt at it before me. |
The other way to do a lot of this, particularly for things that aren't likely to change often (or at all), would be to add a config file in the repo that can be filled in as part of the initial setup for a self-hosted instance. That could have things like email sender addresses, bug report addresses/links, etc. Somewhat easier than adding site settings to an interface that's in dire need of an overhaul. |
Is your feature request related to a problem? Please describe.
When attempting to set up a self-hosted instance of QPixel for the Delft Univeristy of Technology, a number of issues popped up.
The key ones:
For the latter point, of course we would expect some mention and attribution of Codidact ("hey we made this" "come help us"), but for many other things we would expect these to be configurable instead.
Describe the solution you'd like
Additional configuration options to be able to change many of the places where Codidact is currently hardcoded.
Additional Context
The main question is how codidact sees the future of QPixel. We have made/are making the required code changes to make it work as a self-hosted instance under a domain of our own. We could keep these changes separate, but this will provide difficulties in keeping up to date with changes made by the codidact team, and the changes we are making may also be useful to other users.
On the other hand, adding the required configuration requires additional work. For now, we just replaced a lot of the hardcoded values in the code. Of course, other institutions can do the same, and we could argue that this is the "intended" way to create a self-hosted instance. This does however raise the bar for difficulty on setting up such an instance, and may lead institutions to other platforms.
The text was updated successfully, but these errors were encountered: