-
Notifications
You must be signed in to change notification settings - Fork 2
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
Document anatomy of the Tutor root #27
Comments
I like the fact that you are making a list of all the weird, non-intuitive things that you stumble upon and that I never think of because I have forgotten how strange they are 😉 The best way to address this issue is probably to write a "Plugin developer guide". By describing step-by-step what a plugin developer needs to do, we'll automatically discover most of the weird stuff. |
Sounds good! I'll make this a subtask within a greater Plugin Developer Guide task. |
Context
When writing my CourseGraph plugin, I found that in order to correctly write and debug my plugin's patch files and templates, I needed to understand the significance of the files in
$(tutor config printroot)
.Tutor docs do a great job of describing that
./config.yml
is used as input to generate./env
, but I don't think they described the other folders (./data
,./volumes
) nor the internal structure of./env
.In particular, I it took me a while to find out that:
$(tutor config printroot)/env/<mode>
.../../data/<service>
, that resolves to$(tutor config printroot)/data/<service>
.$(tutor config printroot)/env/plugins
Acceptance
After the Plugin API v1 is specified, ensure there are docs explaining the structure of
$(tutor config printroot)
. Should be part of the plugin developer guide.The text was updated successfully, but these errors were encountered: