wooclap / moodle-mod_wooclap

Moodle plugin for Wooclap (https://www.wooclap.com/).
2 stars 5 forks source link

Wooclap Moodle plugin

Integrate Wooclap events as a Moodle course activity.

Manual installation

For end-users, it is better to install this plugin from the official Moodle store or from a .zip provided by Wooclap.

For development purposes, it can be useful to install it manually from source with the instructions below:

  1. Install node
  2. Run npm install
  3. Run npm run release
  4. This will generate a .zip file
  5. Go to your Moodle instance "Plugin Installer" page: https://your-moodle-instance/admin/tool/installaddon/index.php
  6. Drag and drop the .zip file onto the page
  7. Follow the on-screen instructions

Code Linter

Linting is done using PHP Code Sniffer (phpcs) with a specific moodle standard.

Some links:

Steps to get linter working on Sublime Text on Windows

Code formatter

Code formatting is done using phpfmt in Sublime Text.

  {
    "indent_with_space": 4,
    "passes":
    [
      "ReindentSwitchBlocks"
    ],
    "version": 1
  }

VSCode

VSCode extensions