-
Notifications
You must be signed in to change notification settings - Fork 288
Upgrade to v0.1.0
- Delete the root directory of the authoring tool, adapt_authoring.
- Complete the installation using the install instructions found in the authoring tool wiki.
-
Get the latest code from GitHub
Navigate into the tool's root directory (adapt_authoring).
Run the following commands
git fetch origin
git checkout master && git pull
This will update the authoring tool's code. -
Run npm install
While in adapt_authoring, run the following command
npm install
This will update the modules required by the new version, including the Adapt framework. -
Recompile the code
While in adapt_authoring, run the following command
grunt build:prod
Note:
The grunt file provides options. You may choose to rungrunt build:prod
orgrunt build:dev
depending on your needs.grunt build:prod
uglifies the .js files, thereby decreasing download time.grunt build:dev
does not, so it makes it easier to debug. If in doubt, usegrunt build:prod
. -
Run the application
Ensure that MongoDB is running. While in adapt_authoring, run the following command
node server
Browse to 'localhost:5000'
When the login page appears, enter the super user's e-mail address and password.