jackjansen / 2immerse-technical-samples

Sample documents from the 2-Immerse project, mainly of historical interest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Important note

This repository is mainly of historical interest. It contains sample documents from the time the 2Immerse project was still actively being developed. Therefore, some (or all) of these samples may or may not work with the open source 2-Immerse repositories from https://github.com/2-IMMERSE. You have been warned.

Technical Samples

This repository contains sample 2immerse experiences. The samples are technical, i.e. they are intended to test features of the implementation, not to show off the platform to third parties.

If you point your browser to indexx.html you should be able to select the test you want to see (provided you are doing so with Chrome or another 2immerse-compatible browser). And it has a double-x in the name so you can still browser to this directory on the origin server and see the contents:-).

Creating a new example

  • Pick a new number, create a folder, put a timeline.xml and layout.json in there.
  • Add to indexx.html
  • Add to indexx_edge.html
  • Add to client.json
  • Check syntax on the local files (see below)
  • Upload (see below)
  • Check syntax and media items (see below)

Modifying the examples

After changing anything here you need to upload the changed files using

make install

For this to work you need to have the AWS client installed:

sudo pip install awscli

Then you need to enter the credentials to allow you to upload:

aws configure

Enter the credentials that James shared in an email from 20-Feb-2017 with subject Uploads to new platform.

Testing the examples

To run a syntax check of all layout and timeline documents run

make test

and to check the syntax and also existence of media for installed documents run

make livetest

You can also test individual documents by using targets like test-100-video-mp4.

About

Sample documents from the 2-Immerse project, mainly of historical interest


Languages

Language:HTML 65.2%Language:JavaScript 29.7%Language:CSS 3.3%Language:Shell 1.1%Language:Makefile 0.8%