Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

sara-sabr/WebXR_RP

Repository files navigation

ESDC WebAR Prototype

Release to Prod

Disclaimer

This is a prototype and does not imply any possibility of a future ESDC service where augmented/mixed reality is available/offered. The purpose of this prototype is to push the boundaries and see what a given technology could do.

Requirements to run prototype hosted

The following are the minimum requirements depending on the device.

  • Android: Chrome 87+
  • iOS: Install WebXR Viewer
  • Desktop: Chrome 87+ with the following extension installed and configured

How to Run

The following commands are available after running npm install:

  • npm run audio Gets the dialog lines from locale/en.json and locale/fr.json and converts them from text to MP3 files. This requires having a Microsoft Cognitive Services subscription. In order to use this command, two environment variables must be set:
    1. APIKEY : the key of the Cognitive Service
    2. REGION : the location of the Cognitive Service
  • npm run build Builds the source code and packages it into the dist folder which then can be served by any server.
  • npm run lint Cleans up the code and the formatting.
  • npm run start Brings up a server at https://localhost:8080 . You will need to accept the unsigned certificate before proceeding.