Installation
Prerequisites
Install SOM Generator
Option 1: Run Directly (Recommended)
go run github.com/go-surreal/som@latest -i <input_dir>Option 2: Install Binary
go install github.com/go-surreal/som@latestsom -i <input_dir>Option 3: Pin Version
CLI Flags
Project Setup
1. Create Model Directory
2. Define Your First Model
3. Generate Code
4. Import Generated Code
SurrealDB Setup
Using Docker (Recommended)
Using Binary
Using Docker Compose
Verify Installation
Next Steps
Last updated