Setting up development environment: Difference between revisions
From MoodleDocs
m (→Dabatase: corrected spelling to Database from Dabatase) |
m (some comments about the utility of ngrok.) |
||
Line 54: | Line 54: | ||
== Other tools == | == Other tools == | ||
* [[Grunt#Install_grunt | Grunt]] | * [[Grunt#Install_grunt | Grunt]] | ||
* [https://ngrok.com/download Ngrok] | * [https://ngrok.com/download Ngrok], for getting your dev/private site publicly available (for sharing, for testing various integrations requiring public site, SSL or no...) | ||
** Use [https://ngrok.com/docs#authtoken authtoken] for better experience | ** Use [https://ngrok.com/docs#authtoken authtoken] for better experience | ||
** [https://gist.github.com/andrewnicols/a338c43feca0a87a60248b8097de2ef5 MDK integration] | ** [https://gist.github.com/andrewnicols/a338c43feca0a87a60248b8097de2ef5 MDK integration] |
Revision as of 17:40, 2 November 2018
This is a quick guide which contains all the tools you'll need to configure your development environment:
Git
Apache + PHP
- Depending on your computer's OS:
- Extensions and libraries
- Enable SSL for Apache (Transitioning to HTTPS)
More information: Category:Installation
Database
- Server:
- PostgreSQL (recommended)
- MariaDB (recommended)
- MySQL
- MSSQL
- Oracle (not recommended)
- Client:
Moodle
Manual installation
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)
Docker
IDE
Other tools
- Grunt
- Ngrok, for getting your dev/private site publicly available (for sharing, for testing various integrations requiring public site, SSL or no...)
- Use authtoken for better experience
- MDK integration