-
Notifications
You must be signed in to change notification settings - Fork 294
Exporting Course Source Code
For any course you have developed in the Adapt Authoring Tool you can export the source code to a standalone Adapt framework. This is ideal if you want to test out plug-ins that not yet available for the Authoring Tool or develop and test your own plug-ins.
Ensure that you have all the necessary prerequisites installed.
In the Authoring Tool open the course you wish to export by double-clicking it in the Dashboard. Then click the "Export source code" option in the menu bar.
The exported course source code will download as a ZIP. Use the program of your choice to extract the files into a folder for the course.
Open a console interface (e.g. Git Bash, Terminal on OSX, Powershell or CMD.exe) and navigate to folder you extracted the files into. With the extracted folder as your current working directory, run the following command:
npm install
You can now build your standalone course by running the following command:
grunt build
Start a server by running the following command:
grunt server
To view the course, open a browser to the following URL:
http://localhost:9001/
To terminate the server, press ctrl+c .
