Picture of Stephen Harlow
How to install the AT in goormide
by Stephen Harlow - Wednesday, 23 September 2020, 9:56 PM
 

Since Cloud9 IDE got absorbed by AWS I've missed being able to quickly create an Authoring Tool test environment. That has changed now that I've discovered goormide. Their free plan allows an even simpler 7-step install of the AT; I've put together a video demoing the process:

Installing the Adapt Authoring Tool in gormide

The free plan's low CPU utilisation means courses take a bit longer to build and all the usual caveats apply, i.e., it's not suitable for production environments, but goormide provides a great way to quickly try the tool out.

 

Stephen

Picture of Caleb Foster
Re: How to install the AT in goormide
by Caleb Foster - Thursday, 24 September 2020, 9:46 AM
 

Hello Stephen

Really helpful, and just set this up following your video. Would I need to do anything to update the framework and/or AT when updates are pushed to Git?

Thanks

Caleb

Picture of Stephen Harlow
Re: How to install the AT in goormide
by Stephen Harlow - Thursday, 24 September 2020, 10:35 PM
 

Hi Caleb, glad you found the video useful. My recollection is that the AT flags updates when you start the server and you have the opportunity to update or continue at that point. There shouldn't be anything else you need to do, although I haven't tested this yet.

Picture of Caleb Foster
Re: How to install the AT in goormide
by Caleb Foster - Wednesday, 14 October 2020, 1:00 PM
 

Hello Stephen

Could you let me know the command I need to enter to update the Adapt Framework, base on the attached image?

Thanks very much

Caleb

 


Picture of Stephen Harlow
Re: How to install the AT in goormide
by Stephen Harlow - Wednesday, 14 October 2020, 8:49 PM
 

Hi Caleb

If you press Ctrl-C to exit the Authoring Tool then type node upgrade.js and hit Enter you'll be prompted to run the upgrade script:

Stephen

Picture of Caleb Foster
Re: How to install the AT in goormide
by Caleb Foster - Thursday, 15 October 2020, 8:16 AM
 

Perfect, thanks very much Stephen

All updated.

Caleb

Picture of Andy Cranston
Re: How to install the AT in goormide
by Andy Cranston - Thursday, 24 September 2020, 5:54 PM
 

Hello Stephen,

Brilliant demonstration video! Thank you for sharing.

I'm off to get a goormIDE account :-)

All the best,

-Andy.

Picture of Caleb Foster
Re: How to install the AT in goormide
by Caleb Foster - Monday, 2 November 2020, 2:34 PM
 

Hello Stephen

Thanks for your help with installing the latest version on Adapt using GoormIDE.

Do you know how I'd install v4 of the Framework and authoring tool on GoormIDE rather than v5?

Thanks in advance

Caleb

Picture of Stephen Harlow
Re: How to install the AT in goormide
by Stephen Harlow - Wednesday, 4 November 2020, 2:16 AM
 

Hi again Caleb

During the Authoring Tool install, (after running node install) you can configure the framework version (at 1m57s in my install video). Normally, to install the latest framework you just accept the default value, but to install an older version you can use tag syntax, e.g., tags/v4.4.2

So when you are prompted as follows:

> Specific git revision to be used for the framework. Accepts any valid revision type (e.g. branch/tag/commit) (tags/v5.7.0)

Simply replace tags/v5.7.0 with tags/v4.4.2 (or whatever version you desire, you can browse the complete list of tags at GitHub) before pressing ENTER to accept the tag value.

Stephen

 

Picture of Caleb Foster
Re: How to install the AT in goormide
by Caleb Foster - Wednesday, 4 November 2020, 11:27 AM
 

Thanks very much Stephen

I keep getting the below errors:

error [04 Nov 20 11:25:08 +00:00] connect ECONNREFUSED 127.0.0.1:27017
error [04 Nov 20 11:25:08 +00:00] failed to set app.db

Any ideas?

Thanks again

Caleb

 

Picture of Stephen Harlow
Re: How to install the AT in goormide
by Stephen Harlow - Thursday, 5 November 2020, 2:41 AM
 

Looks like GoormIDE's MongoDB installer isn't creating a data directory anymore! You can fix this by creating the directory yourself, type:

mkdir -p ../../data/db

Then close and re-run the container, MongoDB will start and you will be able to run node install.

Picture of Caleb Foster
Re: How to install the AT in goormide
by Caleb Foster - Thursday, 5 November 2020, 8:36 AM
 

Thanks very much Stephen, really appreciate the assistance.

That's got me a step further, for some reason I'm now getting the below, just before being able to specify the super admin account. I think something must have changed on Goorm as this was really straightforward before.

error [05 Nov 20 08:32:41 +00:00] Error downloading the framework /bin/sh: 1: Syntax error: "(" unexpected

ERROR: /bin/sh: 1: Syntax error: "(" unexpected

Failed to create master tenant. Please check the console output.

 

Picture of Stephen Harlow
Re: How to install the AT in goormide
by Stephen Harlow - Thursday, 5 November 2020, 9:56 AM
 

Are you typing tags/v4.4.2 without parentheses?

Picture of Caleb Foster
Re: How to install the AT in goormide
by Caleb Foster - Thursday, 5 November 2020, 10:49 AM
 

Doh!!!

Thank you so much, this is now working.

Thanks again

Caleb

Picture of Caleb Foster
Re: How to install the AT in goormide
by Caleb Foster - Monday, 9 November 2020, 5:09 PM
 

Hi Stephen

Sorry for being a pain. I now have a couple of AAT instances which is great, following your intructions.

I've done exactly the same with another, but the getting the below just after typing node install:

error [09 Nov 20 17:07:27 +00:00] Server selection timed out after 30000 ms
error [09 Nov 20 17:07:27 +00:00] failed to set app.db

Any ideas.

Thanks as always.

Caleb