Note:

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

MoodleNet: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 17: Line 17:
** HTML5 [https://html.spec.whatwg.org/multipage/]
** HTML5 [https://html.spec.whatwg.org/multipage/]
** CSS3 [https://www.w3.org/Style/CSS/]
** CSS3 [https://www.w3.org/Style/CSS/]
== MoodleNet development environment ==
== MoodleNet development environment ==
* NodeJs v16+ https://nodejs.org/
* NodeJs v16+ https://nodejs.org/
Line 41: Line 39:
  yarn dev-backend my-dev
  yarn dev-backend my-dev
Questions? Please take a look in the [https://moodle.org/mod/forum/view.php?id=8726 MoodleNet Community] and [https://tracker.moodle.org/projects/MDLNET/summary Tracker] for answers or to ask for help.
Questions? Please take a look in the [https://moodle.org/mod/forum/view.php?id=8726 MoodleNet Community] and [https://tracker.moodle.org/projects/MDLNET/summary Tracker] for answers or to ask for help.
== Creating MoodleNet packages ==
A Moodlenet package is a standard ems package defining a main ems module.
@moodlenet/core will import it at startup.
// package.json
{
   "name”: "my-moodlenet-package”,
   "version”: "1",
  "type": "module",
   "exports": {
     ".": "./src/server/main.mjs"
   }
}
== Important links ==
== Important links ==
* [https://www.npmjs.com/package/@moodlenet/ce-platform Code repository]
* [https://www.npmjs.com/package/@moodlenet/ce-platform Code repository]

Revision as of 14:14, 29 November 2022

Moodlenet-logo.png

What is MoodleNet?

MoodleNet is a flexible Open Education Technology platform for curating collections of the best known Open Educational (and other) Resources. You'll find more general information in the MoodleNet user documentation.

If you are looking to get started as a MoodleNet developer, we recommend taking the MoodleNet for Developers course with Moodle Academy.

Current status

Take a look at MoodleNet releases in our Tracker.

Roadmap

MoodleNet architecture

MoodleNet is a full stack TypeScript/JavaScript system using:

  • NodeJs
    • NPM Packages [1]
    • ESM Modules [2]
  • Browsers

MoodleNet development environment

Setup development environment

From the command line interface (CLI):

Ensure ArangoDB is running on localhost

docker run -e ARANGO_NO_AUTH=1 -p 8529:8529 --rm --name=mn3arango arangodb

Clone the repository

git clone https://gitlab.com/moodlenet/moodlenet.git

Initialize the project

cd moodlenet
yarn
yarn init-dev

Install a development deployment

yarn dev-install-be my-dev

Run development backend

yarn dev-backend my-dev

Questions? Please take a look in the MoodleNet Community and Tracker for answers or to ask for help.

Creating MoodleNet packages

A Moodlenet package is a standard ems package defining a main ems module.

@moodlenet/core will import it at startup.

// package.json
{
  "name”: "my-moodlenet-package”,
  "version”: "1",
  "type": "module",
  "exports": {
    ".": "./src/server/main.mjs"
  }
}

Important links