Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.06 KB

File metadata and controls

34 lines (26 loc) · 1.06 KB

Sample ThreeJS Devcontainer

A starter CesiumJS devcontainer, leveraging Cesium's Webpack 4 Example.

Setup

  1. Create a free Cesium Account

  2. Go to Cesium Ion and select Access Tokens

  3. Create or reuse an existing access token with the following access:

    • assets:read
    • geocode
  4. Copy the value under Token

  5. Create a .env file in the root directory of this repository containing the following, where <Token Value> is replaced by the token copied in the previous step:

    CESIUM_TOKEN=<Token Value>
    

Usage

  1. Open this project in the provided devcontainer:

    F1-> DevContainers: Rebuild and Reopen in Container
    
  2. Once the devcontainer has built and the project has reopened, launch the application via F5 or:

    Run and Debug -> Run Application
    
  3. Once webpack has built and deployed the application, it can be accessed at:

    http://localhost:8080