Run the three.js viewer
Run the app locally for development
Prerequisites
You need to have cloned this repository and installed npm.
npm can be installed on Ubuntu withe the instructions from Nodesource.
To install the dependencies:
-
Go into the
threejsfolder:cd threejs -
Install the dependencies
npm ci
Run the app
First, you need to put all the latest assets in /threejs/assets.
To run the app locally for development, you can use one of the commands available with npm run:
-
Only make it available locally:
npm run dev -
With ports to open from another device:
npm run dev:host
Run the app on the server for deployment
The instructions to run the app on the server are in the documentation about the server.