-
Notifications
You must be signed in to change notification settings - Fork 40
Installation
Aldo edited this page Mar 13, 2018
·
5 revisions
- Previous requirements
- Ubuntu 14.04+
- Internet connection
- Install node.js and git.
- 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.
- Go to the 'RESCORM' folder that has been created in your working directory.
- Execute the following command to install all the project dependencies in the 'node_modules' folder:
npm install
- Execute the following command to disable all logs for HMR (Hot Module Replacement):
node tasks/hmr_log_fix.js
- Execute the following command to start the development server:
The app will be available at the following URL http://localhost:8080.
npm start
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. - Development server can be stopped by pressing 'Ctrl-C'.
- 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.
- Available commands are listed here.