Skip to content

Commit 86f5e25

Browse files
authored
Merge pull request #1457 from hribeir0/mdk
[docs] tools: Moodle Development Kit (MDK)
2 parents abe3dd6 + 6e5fd4c commit 86f5e25

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

data/academycourses.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,18 @@
106106
"series": [
107107
"intermediate"
108108
]
109+
},
110+
"mdk": {
111+
"id": 171,
112+
"name": "Working with Moodle Development Kit (MDK)",
113+
"summary": "Get to know how to use MDK to streamline your Moodle development processes",
114+
"description": "This intermediate level course for developers is designed to help you fully leverage the Moodle Development Kit (MDK) to boost development efficiency, minimise manual tasks, enforce best practices in plugin creation, and establish more consistent Moodle development workflows both individually and collaboratively within a team.",
115+
"tags": [
116+
"development",
117+
"tools"
118+
],
119+
"archived": false,
120+
"series": []
109121
}
110122
}
111123
}

general/development/tools/mdk.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Every developer creates simple tools to avoid repeating cumbersome and/or boring
1010

1111
The most important concept of MDK is that it works with Moodle instances. An instance of Moodle is a directory in which you have checked out a particular version together with a database using a specific database engine. This means that if you want to work on Moodle 4.3 and 4.2, using both MySQL and PostgreSQL, you will have four separate instance directories. This choice was made because it is the safest, clearest, and most straightforward solution.
1212

13+
<AcademyLink
14+
subject="Moodle Development Kit"
15+
courseName="mdk"
16+
/>
17+
1318
## Typical workflows using MDK
1419

1520
To discover what MDK can do for you, here are a few common tasks it can achieve. More on [MDK's wiki](https://github.com/FMCorz/mdk/wiki/Typical-workflows).
@@ -237,6 +242,7 @@ You may need to set the path variable to null:
237242
mdk config set path ""
238243
```
239244

245+
During the installation, a `.moodle-sdk` folder will be created containing a `config.json` file will. You can edit it to change your settings easily.
240246
:::
241247

242248
## Upgrading MDK

0 commit comments

Comments
 (0)