LMSouq
moodle-core Open

Is a good practice to have the Git repository on the execution environment?

JU
Julen
1 month ago
3 views
Problem Description
Even if it is a development environment? I have a development server with a Moodle instance. Currently, I have the following structure: `/var/www/html/moodle/`<-- The instance of Moodle I'm running on my development server. `/var/git/` <-- Where I have my moodle.git repository, as same as the git repositories for plugins I develop. For this, I use build tools, among other things, for moving the source code to the Moodle directory in the web server, to make this faster. The other option would be having something like this: Moodle (execution environment) ├── .git └── local ├── plugin_a │   ├── .git │   └── source.php └── plugin_b ├── .git └── source.php Where each plugin would have its repository, as same as Moodle. Which would be the best practice, taking into account that is not a production environment, just a development one?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base