This application doesn't need installation, see it live at https://bodylight.physiome.cz/Bodylight-VirtualBody/.
If in big screen - use chrome in kiosk mode chrome.exe --kiosk https://bodylight.physiome.cz/Bodylight-VirtualBody/
If in VR/AR device open browser and go to URL https://bodylight.physiome.cz/Bodylight-VirtualBody/
and use the button ENTER VR
.
This project is bootstrapped by aurelia-cli. brief installation:
git clone https://github.com/creative-connections/Bodylight-VirtualBody
npm install
au build
# map web server to host /dist folder or do `au run` and see localhost:...
For more information, go to https://aurelia.io/docs/cli/webpack
GLTF files of 3d models are externally hosted on public cloud. You may download it offline by the script:
python cachemodels.py
- this will download the model files into
/static/models
directory which is not part of source control. Scened3d object checks whether local files are available, if not then remote files are downloaded.
- upload to public pcloud -
- add new entry line to src/components/objects3d.json
- add code to load object into src/components/scene3d.js
Run au build --watch
. build/virtualbody contains the html and js files - these should be aliased from local apache config.
Run au build --env prod
.
Run au test
(or au jest
).
To run in watch mode, au test --watch
or au jest --watch
.
You need the app running for integration test.
First, run au run
and keep it running.
Then run au protractor
.