Git Product home page Git Product logo

moodle-mod_wooflash's Introduction

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
  }

moodle-mod_wooflash's People

Contributors

manzan46 avatar thomaslenzi avatar laurentdavid avatar throskam-wooclap avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.