Jacob Schmidt 01dda0e060 Add SurrealDB helpers and promo screenshot assets
- Add local SurrealDB install, update, and run scripts for Forge
- Update setup docs and package the server SurrealDB helpers
2026-05-03 11:48:41 -05:00

16 lines
272 B
Bash

#!/usr/bin/env bash
set -euo pipefail
if command -v surreal >/dev/null 2>&1; then
surreal version
exit 0
fi
if command -v brew >/dev/null 2>&1; then
brew install surrealdb/tap/surreal
else
curl -sSf https://install.surrealdb.com | sh
fi
surreal version