Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Setting up development environment: Difference between revisions

From MoodleDocs
(Created page with "This is a quick guide which contains all the tools you'll need to configure your development environment: == Git == * Git_for_developers#Installing_Git_on_your_computer|Ins...")
 
No edit summary
Line 5: Line 5:
* [[Git_for_developers#Setting-up the public repository|Setting-up GitHub]]
* [[Git_for_developers#Setting-up the public repository|Setting-up GitHub]]


== Apache + PHP==
== Apache + PHP ==
* Depending on your computer's OS:
* Depending on your computer's OS:
** [https://docs.moodle.org/en/Installing_Moodle_on_Debian_based_distributions#Step_1:_Install_required_packages Debian]
** [https://docs.moodle.org/en/Installing_Moodle_on_Debian_based_distributions#Step_1:_Install_required_packages Debian]
Line 13: Line 13:
* Enable SSL for Apache ([https://docs.moodle.org/en/Transitioning_to_HTTPS Transitioning to HTTPS])
* Enable SSL for Apache ([https://docs.moodle.org/en/Transitioning_to_HTTPS Transitioning to HTTPS])


==Dabatase==
== Dabatase ==
* Server:
* Server:
** [https://docs.moodle.org/en/PostgreSQL PostgreSQL] (recommended)
** [https://docs.moodle.org/en/PostgreSQL PostgreSQL] (recommended)
Line 22: Line 22:
* Client:
* Client:
** [https://www.adminer.org/ Adminer]
** [https://www.adminer.org/ Adminer]
== Moodle Development Kit (MDK) ==
Only for Linux and MacOS (not available for Windows)
* [https://github.com/FMCorz/mdk#user-content-for-development Setup]
** Sample to create some instances (both based on master, first using PostgreSQL and second MySQL:
<code php>
mdk create --install --engine pgsql --run mindev users makecourse
mdk create --install --engine mysqli --run mindev users makecourse -n stable_master-mysql
</code>
* [[Running_acceptance_test#2._Set_up_Selenium | Behat]]
** JRE
** GoogleChrome driver (Firefox stopped working)
== IDE ==
* [[Setting_up_Sublime2 | Sublime]]
* [[Setting_up_PhpStorm | PhpStorm]]
* [[Setting_up_Eclipse | Eclipse]]
* [[Setting_up_Netbeans | Netbeans]]




[[Category:Developer tools|Development environment]]
[[Category:Developer tools|Development environment]]

Revision as of 17:17, 4 September 2018

This is a quick guide which contains all the tools you'll need to configure your development environment:

Git

Apache + PHP

Dabatase

Moodle Development Kit (MDK)

Only for Linux and MacOS (not available for Windows)

  • Setup
    • Sample to create some instances (both based on master, first using PostgreSQL and second MySQL:

mdk create --install --engine pgsql --run mindev users makecourse mdk create --install --engine mysqli --run mindev users makecourse -n stable_master-mysql

  • Behat
    • JRE
    • GoogleChrome driver (Firefox stopped working)

IDE