Skip to content

Installation

Aldo edited this page Mar 13, 2018 · 5 revisions
  1. Previous requirements
    • Ubuntu 14.04+
    • Internet connection
  2. Install node.js and git.
  3. Fork this GitHub project, clone the fork in your working directory, and sync the fork with the original repository according to the instructions provided in this guide.
  4. Go to the 'RESCORM' folder that has been created in your working directory.
  5. Execute the following command to install all the project dependencies in the 'node_modules' folder:
    npm install
  6. Execute the following command to disable all logs for HMR (Hot Module Replacement):
    node tasks/hmr_log_fix.js
  7. Execute the following command to start the development server:
    npm start
    The app will be available at the following URL http://localhost:8080.
    SCORM 1.2 environment will be available at http://localhost:8080/scorm12.html.
    SCORM 2004 environment will be available at http://localhost:8080/scorm2004.html.
  8. Development server can be stopped by pressing 'Ctrl-C'.
  9. Configuration can be specified in the following files (see this page for further information):
    • app/config/config.js: Global configuration for the React application.
    • app/config/config_lms.js: Configuration for the SCORM environments.
  10. Available commands are listed here.