Skip to content

call-learning/moodle-mod_wooflash

 
 

Repository files navigation

Wooflash Moodle plugin

Integrate Wooflash courses 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 Wooflash.

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

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

Code Linter

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

Somes links:

Steps to get linter working on Sublime Text on Windows

  • Install PHP on your machine
  • Install Composer (PHP dependency manager) here : https://getcomposer.org/ (can be installed locally or globally)
  • In this folder, run composer install (this uses the composer.json file to install PHP Code Sniffer at the correct version)
  • Extract the content of vendor_patch.zip in the newly created vendor\squizlabs\php_codesniffer\CodeSniffer\Standards
  • Using Sublime Package Control, install SublimeLinter and SublimeLinter-phpcs

Code formatter

Code formatting is done using phpfmt in Sublime Text.

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

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%