Skip to content

Installation

Range Warden ships as a single Docker image containing both the Go API server and the React frontend.

  • Docker installed on your host machine.
  • A directory on the host for persistent data (SQLite database).
Terminal window
docker run -d \
--name range-warden \
-p 3000:3000 \
-v range-warden-data:/data \
ghcr.io/mcarlson501/range-warden:latest

Open http://localhost:3000 in your browser.

Create a docker-compose.yml:

services:
range-warden:
image: ghcr.io/mcarlson501/range-warden:latest
ports:
- "3000:3000"
volumes:
- range-warden-data:/data
restart: unless-stopped
volumes:
range-warden-data:

Then run:

Terminal window
docker compose up -d
VariableDefaultDescription
PORT3000Port the server listens on
DATABASE_PATH/data/range-warden.dbPath to the SQLite database file
Terminal window
# Clone the repository
git clone https://github.com/mcarlson501/range-warden.git
cd range-warden
# Build the frontend
cd web && npm install && npm run build && cd ..
# Build the Go binary (requires CGO for SQLite)
CGO_ENABLED=1 go build -o range-warden ./cmd/server
# Run
./range-warden

On first run, Range Warden creates a default admin account:

Change this password immediately after your first login via Admin → Users.