forked from moodle/devdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9922b0e
commit 0b4fad2
Showing
25 changed files
with
1,217 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
title: Technical requirements | ||
--- | ||
|
||
Moodle is a PHP Application, which is backed by a relational database. | ||
|
||
Five database types are supported, and several versions of PHP. | ||
|
||
## PHP | ||
|
||
Moodle 4.0 supports the following PHP versions: | ||
- 7.3 | ||
- 7.4 | ||
- 8.0 | ||
|
||
The following PHP extensions are required (most of which are installed and enabled by default in most PHP installations): | ||
- [iConv], | ||
- [mbstring], | ||
- [curl], | ||
- [openssl], | ||
- [ctype], | ||
- [zip], | ||
- [zlib], | ||
- [simplexml], | ||
- [spl], | ||
- [pcre], | ||
- [dom], | ||
- [xml], | ||
- [xmlreader], | ||
- [intl], | ||
- [json], | ||
- [hash], | ||
- [fileinfo] | ||
|
||
## Relational Database | ||
|
||
The following relational database servers are supported. The relevant PHP extension will also be required. | ||
- [MariaDB][mariadb] (version 10.2.29 or higher) with the [MySQLi PHP Extension][php.mysqli] | ||
- [MySQL][mysql] (version 5.7 or higher) with the [MySQLi PHP Extension][php.mysqli] | ||
- [Postgresql][postgres] (version 10 or higher) with the [pgsql PHP Extension][php.pgsql] | ||
- [Microsoft SQL Server][sqlsrv] (version 14.0 or higher) with the [SQLSRV PHP Extension][php.sqlsrv] | ||
- [Oracle][oci] (version 11.2 or higher) with the [OCI8 PHP Extension][php.oci8] | ||
|
||
[php]: https://php.net/downloads/ | ||
[iconv]: https://www.php.net/book.iconv | ||
[mbstring]: https://www.php.net/book.mbstring | ||
[curl]: https://www.php.net/book.curl | ||
[openssl]: https://www.php.net/book.openssl | ||
[ctype]: https://www.php.net/book.ctype | ||
[zip]: https://www.php.net/book.zip | ||
[zlib]: https://www.php.net/book.zlib | ||
[simplexml]: https://www.php.net/book.simplexml | ||
[spl]: https://www.php.net/book.spl | ||
[pcre]: https://www.php.net/book.pcre | ||
[dom]: https://www.php.net/book.dom | ||
[xml]: https://www.php.net/book.xml | ||
[xmlreader]: https://www.php.net/book.xmlreader | ||
[intl]: https://www.php.net/book.intl | ||
[json]: https://www.php.net/book.json | ||
[hash]: https://www.php.net/book.hash | ||
[fileinfo]: https://www.php.net/book.fileinfo | ||
|
||
[mariadb]: https://mariadb.org/ | ||
[php.mysqli]: https://www.php.net/manual/en/book.mysqli.php | ||
[mysql]: https://www.mysql.com/ | ||
[postgres]: https://www.postgresql.org/ | ||
[sqlsrv]: https://www.microsoft.com/en-au/sql-server/sql-server-downloads | ||
[oci]: https://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm | ||
[php.oci8]: https://www.php.net/manual/en/book.oci8.php | ||
[php.pgsql]: https://www.php.net/manual/en/book.pgsql.php | ||
[php.sqlsrv]: https://www.php.net/manual/en/book.sqlsrv.php |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,8 @@ | ||
--- | ||
sidebar_position: 1 | ||
id: introduction | ||
title: Introduction | ||
description: Moodle developer documentation | ||
slug: / | ||
--- | ||
|
||
# Tutorial Intro | ||
|
||
Let's discover **Docusaurus in less than 5 minutes**. | ||
|
||
## Getting Started | ||
|
||
Get started by **creating a new site**. | ||
|
||
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**. | ||
|
||
### What you'll need | ||
|
||
- [Node.js](https://nodejs.org/en/download/) version 14 or above: | ||
- When installing Node.js, you are recommended to check all checkboxes related to dependencies. | ||
|
||
## Generate a new site | ||
|
||
Generate a new Docusaurus site using the **classic template**. | ||
|
||
The classic template will automatically be added to your project after you run the command: | ||
|
||
```bash | ||
npm init docusaurus@latest my-website classic | ||
``` | ||
|
||
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. | ||
|
||
The command also installs all necessary dependencies you need to run Docusaurus. | ||
|
||
## Start your site | ||
|
||
Run the development server: | ||
|
||
```bash | ||
cd my-website | ||
npm run start | ||
``` | ||
|
||
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. | ||
|
||
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. | ||
|
||
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. | ||
Welcome to the new Moodle Developer documentation, your main resource in Moodle development. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Release notes | ||
--- | ||
|
||
# Release notes | ||
|
||
:::note | ||
This page contains release notes for the upcoming version of Moodle. | ||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.