Quick Start
Overview
This guide helps you boot gobrave locally in minutes, using the default Go server entrypoint.
Prerequisites
- Go 1.25 or newer
- A reachable database: SQLite (default), MySQL, or PostgreSQL
- Docker, k8s, or k3s if you want containerized analysis runtime
1. Clone And Enter Project
| |
2. Create Runtime Config
| |
Edit at least:
database.*container.runtimestorage.base_dir(optional but recommended)
3. Start Server
| |
Default server bind is:
- Host:
0.0.0.0 - Port:
8082
4. Verify Service
Open the following URLs after startup:
- Home/API entry from your frontend integration
- Swagger (non-release mode):
/swagger/index.html
If you run on localhost with default port:
http://127.0.0.1:8082/swagger/index.html
5. Build Binary (Optional)
| |
To switch environment quickly, you can pass CLI flags to override config values at runtime.
Example:
| |
Common First-Run Issues
- Database connection fails:
- Re-check
database.driver, host/port, user/password, and database name/path.
- Swagger not found:
- Swagger is disabled when
GIN_MODE=release.
- Container session cannot start:
- Verify Docker/k8s availability and
container.runtimeselection.
Next Steps
- Read
/docs/configurationfor full config reference. - Read
/docs/architecturefor module boundaries and runtime flow. - Read
/docs/containersfor container lifecycle operations.