Skip to content

Quickstart

Cristina Alonso edited this page Jun 12, 2018 · 66 revisions

Contents

Installation

Start by following the steps described in the installation guide; this will get docker and docker-compose installed, download the required docker containers, and attempt to launch them.

Once all docker containers are up and running correctly, you should have something similar to the following architecture:

architecture-3-style-unified-and-updated pptx 5 Figure 1.: docker containers and dependencies.

architecture-3-style-unified-and-updated pptx 6 Figure 2.: docker containers architecture and flow of use from clients through A2 to storage back-ends and analysis modules.

Notice that after installation, a .env file is generated inside the rage-analytics folder containing a random root user and password (if you cannot find the file, it may be hidden by default).

Trying the analytics platform

Check out the Sign up page of the Analytics Front-end: its default route is http://localhost:3000/api/proxy/afront/signup. A2 can be found at http://localhost:3000; all other RAGE Analytics services should be accessed using this prefix. At the sign-up page you may create one account for a developer, a teacher and a student, selecting the type of account by choosing the corresponding icon.

9

Figure 3.: front-end sign-up page. Access to this page should only be available to properly authorized users in production environments

Roles are defined as follows:

  1. A developer creates and registers games. The developer programs the game to send information on user interactions, via xAPI statements (using the tracker to simplify and automate the process). Developers also configure the real-time analytics that will be performed on incoming statements, and can configure the game with the tracking code provided when a new game is created, setting up the correct game host-link and creating an analysis model for the real-time dashboard.
  2. A teacher creates, starts and closes classes (which group game-play sessions for a particular version of the game, and a particular set of student players, during a limited time-period) for a game and manages the players that can join that class in order to see their data in real time.
  3. A student plays the game and gets tracked.

Developer steps

  1. Create a game (see Figure 4) and make it public for teachers to see it, otherwise only you as a developer will be able to see the game (see Figure 5).

  2. Set up the provided Tracking code, the game link and collectorHost values.

  3. Define a real-time analysis model.

  4. Define an analysis model.

  5. Add a game link where the students can play the game (this link will appear in the students view)

  6. Wait for the people to play the game in order to see the default set of visualizations for developers.

image

Figure 4.: developers can add a new game from the front-end.

image

Figure 5.: developers need to make games public for teachers to be able to see them.

Teacher steps

  1. Create a class for a game (see Figure 6).

  2. Set up a class.

  3. Wait for the students to play the game in order to see the real-time dashboards.

image

Figure 6.: teachers can set-up a new class from the front-end.

Student steps

  1. Play the game, available when you log in or, without log in, with the game provided by teachers (in this case, teachers will need to allow anonymous users to track data from).

Other info

If you want to know how to manage users, roles and applications by the A2 interface you can see the administration view.

Clone this wiki locally