-
Notifications
You must be signed in to change notification settings - Fork 249
Deploying and testing your Adapt course
To make developing and deploying Adapt courses as painless as possible, we use the Grunt task runner to automate the as many of the menial tasks as possible.
After navigating to the root directory of your Adapt course (you know you're in the right place if you have a Gruntfile.js), you can run any of the tasks below:
Simply running this will list out all of the tasks along with descriptions; useful to quickly look up what's available without having to open your browser and navigate here.
This tasks compiles a production-ready minified/compressed version of the course.
This tasks compiles a developer-friendly version of the course, including sourcemaps for debugging.
Before your course will track to an LMS (using spoor or another tracking extension), you'll need to make sure that tracking identifiers are added to the relevant places in your JSON files. You can do it manually, or you can run this task which will insert them for you automatically.
Note: if you already have tracking IDs associated to blocks in your course, any missing IDs will be added starting from the highest existing ID (i.e. if the last block in your course has an ID of 17, the next ID added will be 18). If you want to remove all IDs, and start again from 0, try using tracking-reset
(see below).
This task removes all tracking IDs from your JSON files.
This task resets all tracking IDs in your JSON files starting from 0.
This task runs a local server on your machine, and opens a browser window ready for you to test your course locally.
Same as above, but provides a dummy SCORM interface to allow you to test the tracking of your course.
Once you have built your course using build
or dev
, you are ready to upload it to a web server or LMS. To do this, you simply need to copy the files found in /build
according to the instructions for your specific platform.
- Framework in Five Minutes
- Setting up Your Development Environment
- Manual Installation of the Adapt Framework
- Adapt Command Line Interface
- Common Issues
- Reporting Bugs
- Requesting Features
- Creating Your First Course
- Styling Your Course
- Configuring Your Project with config.json
- Content starts with course.json
- Course Localisation
- Compiling, testing and deploying your Adapt course
- Core Plugins in the Adapt Learning Framework
- Converting a Course from Framework Version 1 to Version 2
- Contributing to the Adapt Project
- Git Flow
- Adapt API
- Adapt Command Line Interface
- Core Events
- Core Model Attributes
- Core Modules
- Web Security Audit
- Peer Code Review
- Plugins
- Developing Plugins
- Developer's Guide: Components
- Developer's Guide: Theme
- Making a theme editable
- Developer's Guide: Menu
- Registering a Plugin
- Semantic Version Numbers
- Core Model Attributes
- Adapt Command Line Interface
- Accessibility v3
- Adapt Framework Right to Left (RTL) Support