Skip to content

Commit 0e15794

Browse files
authored
Revise README for Cesium Ion token and local setup
Updated instructions for running the app and obtaining a Cesium Ion token.
1 parent ce7450f commit 0e15794

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ Everything about your current view — the window you selected, your camera angl
9797

9898
---
9999

100-
## Getting a Cesium Ion Token
100+
## Running Locally
101+
102+
### Getting a Cesium Ion Token
101103

102104
Window View uses Cesium Ion to stream 3D tiles. If you are running this locally, you will need a free Cesium Ion account and access token.
103105

@@ -106,11 +108,13 @@ Window View uses Cesium Ion to stream 3D tiles. If you are running this locally,
106108
3. Create a new token (or use the default one).
107109
4. Make sure the token has access to the [**Google Photorealistic 3D Tiles**](https://ion.cesium.com/assetdepot/2275207) asset. This should be granted by default.
108110

109-
---
111+
Then create a `.env` file at project root with your API key:
110112

111-
## Running Locally
113+
```
114+
VITE_CESIUM_ION_TOKEN=your_token_here
115+
```
112116

113-
If you'd like to run your own copy:
117+
### Running the App
114118

115119
```bash
116120
git clone https://github.com/wengh/window-view.git
@@ -119,12 +123,4 @@ npm install
119123
npm run dev
120124
```
121125

122-
## Contributing
123-
124-
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
125-
126-
Then open `http://localhost:5173`. You can optionally create a `.env` file with your API key so you don't have to enter it each time:
127-
128-
```
129-
VITE_CESIUM_ION_TOKEN=your_token_here
130-
```
126+
Then open `http://localhost:5173`.

0 commit comments

Comments
 (0)