Open rscharfer opened 7 years ago
Here is fine. This was a quick research project done to evaluate launching xAPI content. As such it's a little light on documentation. The developer who made this has since left, but I'll do my best to help you.
You need to have mongo installed on the machine before running this app. It uses the value of connectionString in the configuration file.
The other questions that come up on startup is to finish creating the config file. (see here The first three are the LRS endpoint, username and password. Next is the host, which is the url of the launch server, followed by an admin email and password of your choosing. This admin is for the launch server, who has different views and actions available on the server.
Just a note. This was intended as an example project. The algorithm section explains the process of launching. If you are more comfortable in another technology, you could implement this algorithm in that instead.
Hi Tom,
Thanks for the help!
I'll try to use the same technology to implement this algorithm. I am not aware of any alternative, so this seems fine. : ) Installing Mongo DB on my machine seems easy enough. I am a bit confused by the term "launch server". Would this be the server my learning activity is hosted on? So if the url to my learning activity is https// ryansserver.com/learningActity1/index.html, the url to the launch server would be https://ryansserver.com? I suspect that is not the case, and the launch server is something I am setting up with this process. In that case, how would I get its URL?
On Thu, Aug 10, 2017 at 3:11 PM, tom creighton notifications@github.com wrote:
Here is fine. This was a quick research project done to evaluate launching xAPI content. As such it's a little light on documentation. The developer who made this has since left, but I'll do my best to help you.
You need to have mongo installed on the machine before running this app. It uses the value of connectionString in the configuration file.
The other questions that come up on startup is to finish creating the config file. (see here https://github.com/adlnet/xapi-launch/blob/master/app.js#L15 The first three are the LRS endpoint, username and password. Next is the host, which is the url of the launch server, followed by an admin email and password of your choosing. This admin is for the launch server, who has different views and actions available on the server.
Just a note. This was intended as an example project. The algorithm section explains the process of launching. If you are more comfortable in another technology, you could implement this algorithm in that instead.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adlnet/xapi-launch/issues/14#issuecomment-321546575, or mute the thread https://github.com/notifications/unsubscribe-auth/AEGNPWjTxndSrBHgrdj9FLOJl3ywBhTJks5sWwGcgaJpZM4OzS72 .
-- Ryan Scharfer
Lerchenfeld 9 22081 Hamburg
+49 1577 5833423
The launch server is this xapi-launch app you're trying to install, so if it's installed locally it's probably http://localhost:3000.
Hi Tom,
I am back at this and I still have some basic questions before I really get started. Are the following points in the documentation part of one process? In other words, each one of those steps needs to be completed to have your appication up and running? At first I thought they all dealt with separate use cases, but I don't think running the server alone (step 1) will get you what you want.
Running the Server, Running the Static HTML Demo content, Running the Server Side Demo content, Running the native application demo
Thanks for any help.
Sorry for the basic questions..
On Thu, Aug 10, 2017 at 3:11 PM, tom creighton notifications@github.com wrote:
Here is fine. This was a quick research project done to evaluate launching xAPI content. As such it's a little light on documentation. The developer who made this has since left, but I'll do my best to help you.
You need to have mongo installed on the machine before running this app. It uses the value of connectionString in the configuration file.
The other questions that come up on startup is to finish creating the config file. (see here https://github.com/adlnet/xapi-launch/blob/master/app.js#L15 The first three are the LRS endpoint, username and password. Next is the host, which is the url of the launch server, followed by an admin email and password of your choosing. This admin is for the launch server, who has different views and actions available on the server.
Just a note. This was intended as an example project. The algorithm section explains the process of launching. If you are more comfortable in another technology, you could implement this algorithm in that instead.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adlnet/xapi-launch/issues/14#issuecomment-321546575, or mute the thread https://github.com/notifications/unsubscribe-auth/AEGNPWjTxndSrBHgrdj9FLOJl3ywBhTJks5sWwGcgaJpZM4OzS72 .
-- Ryan Scharfer
Lerchenfeld 9 22081 Hamburg
+49 1577 5833423
Hi Ryan,
All of the steps in "Running the server", and steps 1 & 2 in "Running the static HTML demo content", are the only steps that are required before continuing. The others are completely separate from one another. These are individual example cases using different content types.
To run the server:
cd
to the xapi-launch foldernpm install
node app.js
I know this isn't the place for this, but I have no idea where I can go to for help using xapi-launch. At this point, I am trying to follow the "running the server" instructions and at step 3 it says verified mongo db is installed and running. Is this something I need to do separately or is this done for me when I npm install? After entering the command node app.js, I am asked to enter the host. Here I put the url of our eLearning course on our server. Then I am asked for the email for the admin login and pass. What is this? Admin for the mongo db? Admin for the url to our course? there is no admin for that.... Is there anyone, anywhere I can go to to get help about this? Thanks for any help!! - Ryan rscharfer@gmail.com