A web-based authoring tool for the Adapt Framework.
- Web application built on Node.js, Backbone.js, and MongoDB for creating, editing and publishing Adapt content
- Supports all core extensions and components
- Allows uploading and linking of course assets
You can either install the authoring tool as a web application (see Server Installation), or as a Vagrant installation running on Virtual Box.
If you are a non-technical user, the Vagrant option is the quicker and easier option.
The steps for installing on Vagrant are:
- Install Vagrant.
- Install VirtualBox.
- Get the code by downloading a zip directly from GitHub, or by cloning the repository using git.
- Launch a terminal window (or command prompt) and
cd
into theadapt_authoring
directory you have just downloaded. (Windows users: it is essential that you launch command prompt as an Administrator.).
If you're unfamiliar with the terminal, have a look at our Just Enough Command Line for Installing page first. - Run the command
vagrant up
. (Windows users: during this process you may receive prompts from your firewall software, to which you must allow access, as installation will fail if the VM cannot access the internet to download the required dependencies.) - Depending on the performance of your hardware, allow 10 to 20 minutes for setup complete. Once it finishes, you can browse to http://localhost:5000 to access the authoring tool. You can then login with the following credentials:
E-mail address: admin
Password: password
At this point you do not need to keep your terminal/command prompt window open. When you want to shut down, just cd
into the adapt_authoring
directory again, and run the command vagrant halt
. To restart it again later run the vagrant up
command from the same directory.
- git - http://git-scm.com/downloads
- MongoDB - http://docs.mongodb.org/manual/
- Node.js - http://nodejs.org/
- grunt-cli - http://gruntjs.com/getting-started
- adapt-cli - https://github.com/adaptlearning/adapt-cli
- FFmpeg (optional) - https://www.ffmpeg.org/index.html
There are various ways of installing these applications depending on your platform.
Installing prerequisites on Windows
Users on platforms other than Windows can use the instructions below.
Before installing the tool itself, you must install the following applications.
You can install git from here.
If this is a fresh install of git, you should configure it:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
MongoDB is a document based database. Download and install the version appropriate for your system here.
Node.js and npm are required. Installing Node.js will also install npm.
IMPORTANT: Please ensure that you install Node.js 4.2.x. LTS. This is the long-term supported version that this software has been tested with.
You should use a Node.js version manager. We recommend using NVM on non-Windows machines. On Windows, try nodist.
Install grunt-cli and adapt-cli using npm (NOTE the -g
in both commands is required!):
npm install -g grunt-cli
npm install -g adapt-cli
Read more about Grunt.
FFmpeg is not required to use the tool, but it will produce nice thumbnails for images and videos you upload.
Clone the project from github.com:
git clone https://github.com/adaptlearning/adapt_authoring.git
Firstly ensure that the MongoDB service is started is running correctly. If you installed on Linux, the service should automatically start. OSX users may have to manually run mongod
from a terminal.
Navigate to the folder where you cloned the adapt_authoring project and run npm install
:
cd /path/to/adapt_authoring/
npm install
And finally run the install script. The script will help you configure the tool. In most cases, you can just accept the default values; the only input you are required to provide are the default username and password. Note that FFmpeg is not used by default, so choose Y
when prompted if you have it installed:
node install
If the script completes succesfully, you should now be able to run the application. If any error occurs, read the output, and check if you forgot to install one of the above prerequisites.
To run the application use:
node server
The ouput on the console will tell you what url to use to access the tool. By default it will be http://localhost:5000.
You can run the install script again at anytime. If you chose the same values for the master database connection, you may overwrite any existing data, but this is occasionally desired.
We hope you enjoy using the tool! For help and support, please visit the community page at http://community.adaptlearning.org