Website · Documentation · Issues
💡 We are hiring full-time OSS comitters! https://eukarya.io/join
Visualizer is a powerful tool for visualizing GIS data, offering a range of features to enhance your mapping experience:
React, TypeScript, Go, GraphQL, MongoDB, WebAssembly (plugin execution), OpenID Connect
Before you begin, please ensure that Docker is properly installed and running on your machine.
Navigate to the server directory and start the backend server.
This command will automatically start the database and mock GCS storage:
cd server
make run
Initialize the development environment.
This creates a mock user and sets up the mock GCS bucket.
This step is only required for the first-time setup:
make init
Windows (PowerShell)Open PowerShell and navigate to the server directory:
cd server
Set an alias to use dv as a shortcut for make:
Set-Alias dv .\dev.bat
Start the backend server.
This will automatically start the database and mock GCS storage:
dv run
Initialize the development environment.
This creates a mock user and sets up the mock GCS bucket.
This step is only required for the first-time setup:
dv init
Navigate to the web directory of your visualizer project and create a local .env file:
cd web
touch .env
Add the following environment variables to your .env file:
# .env
REEARTH_WEB_API=http://localhost:8080/api
REEARTH_WEB_PLUGINS=http://localhost:8080/plugins
REEARTH_WEB_CESIUM_ION_ACCESS_TOKEN=your_cesium_ion_access_token_here
REEARTH_WEB_AUTH_PROVIDER=mock
To obtain a Cesium Ion Access Token, please follow
this official guide.
Install dependencies and start the frontend server:
yarn && yarn start
Windows (PowerShell)Open PowerShell and navigate to the web directory:
cd web
Create a new .env file:
New-Item .env -ItemType File
Add the following environment variables:
Add-Content .env "REEARTH_WEB_API=http://localhost:8080/api"
Add-Content .env "REEARTH_WEB_PLUGINS=http://localhost:8080/plugins"
Add-Content .env "REEARTH_WEB_CESIUM_ION_ACCESS_TOKEN=your_cesium_ion_access_token_here"
Add-Content .env "REEARTH_WEB_AUTH_PROVIDER=mock"
Install dependencies and start the frontend server:
yarn
yarn start
You should now be able to access the Re:Earth Visualizer locally at:
👉 http://localhost:3000
| Windows 10+ | macOS 10.12+ (Sierra) | ChromeOS | iOS 11+ | Android 10+ | Linux (Desktop) |
|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
For more information, please refer to the Documentation.
Edge | Firefox | Chrome | Safari | iOS Safari | Chrome for Android |
|---|---|---|---|---|---|
| 91+ | 57+ | 58+ | 11+ | last 2 versions | last 2 versions |
Made with contrib.rocks.
Re:Earth core committers: [email protected]
Distributed under the Apache-2.0 License. See LICENSE for more information.