Install the Web Platform
This guide covers how to download, configure, and run the SIMPLE WebPlatform.
Prerequisites
Node.js
Required only if you run from source (Option 2). Pre-built binaries include their own runtime.
Required version: Node.js ≥ 22 (v24 recommended).
Download and install from nodejs.org.
Verify:
node -v
Expected output: v22.x.x or later.
Android Debug Bridge (ADB)
ADB is required for connecting to Meta Quest headsets (screen mirroring, automatic WiFi fixes, headset management). For development without a physical headset, ADB is optional.
macOS — via Homebrew
brew install android-platform-tools
All platforms — manual install
- Download Android Platform Tools for your OS.
- Extract to a permanent location (e.g.
/usr/local/platform-tools/on macOS/Linux orC:\platform-tools\on Windows). - Add the directory to your system
PATH.
macOS/Linux:
echo 'export PATH=$PATH:/usr/local/platform-tools' >> ~/.zshrc
source ~/.zshrc
Windows: Open Edit the system environment variables → Environment Variables → User variables → Path → New → add the path → OK.
Verify:
adb version
Option 1: Pre-built executable (recommended for deployment)
Pre-built binaries require no Node.js installation. Download the latest release from the SIMPLE WebPlatform GitHub Releases.
Available binaries:
| Binary | Platform |
|---|---|
simple.webplatform-linux | Linux x64 |
simple.webplatform-win.exe | Windows x64 |
simple.webplatform-macos | macOS x64 |
After downloading:
- Place the binary and a
.envfile in the same directory. - Place your Virtual Universe folders in
./learning-packages/(created automatically if missing). - Run the binary.
See Packaging for details on the executable format and how to build your own.
Option 2: From source (recommended for development)
Installation
git clone https://github.com/project-SIMPLE/simple.webplatform
cd simple.webplatform
npm install
Configure environment variables
macOS / Linux
cp .env.example .env
Windows
copy .env.example .env
Edit .env with your settings. See the .env Reference for all available options.
Start the application
npm start
The application starts both the backend server and the Vite development server concurrently. Open http://localhost:8000 in your browser.
GAMA does not need to be running before you start the WebPlatform. The platform reconnects to GAMA automatically whenever it becomes available.
Access the platform
Open your browser at the URL shown in the terminal (default: http://localhost:8000).
On the local network, the platform is also reachable via mDNS at http://simple.local:8000 if WEB_HOSTNAME=simple is set in .env and your network supports mDNS.
Troubleshooting
| Problem | Solution |
|---|---|
| Port 8000 in use | Change WEB_APPLICATION_PORT in .env |
| Can't connect to GAMA | Check GAMA_IP_ADDRESS and GAMA_WS_PORT in .env; verify GAMA is running |
| No simulations in UI | Check LEARNING_PACKAGE_PATH — each simulation needs a settings.json in its folder |