Quick Start¶
Get GoForge running locally in under 5 minutes.
1. Clone the Repository¶
2. Configure Environment¶
For development, the defaults work out of the box. The key setting is:
When dev mode is enabled, GoForge automatically generates encryption keys, session secrets, and CSRF secrets. You only need to configure these manually for production.
3. Start PostgreSQL¶
If you do not already have PostgreSQL running:
docker run -d \
--name goforge-db \
-e POSTGRES_USER=goforge \
-e POSTGRES_PASSWORD=password \
-e POSTGRES_DB=goforge \
-p 5432:5432 \
postgres:15-alpine
4. Install Dependencies¶
5. Run Database Migrations¶
6. Start the Development Server¶
7. Access GoForge¶
Open http://localhost:8080 in your browser.
On first visit, you will see the login page. Click Register to create your first account.
Next Steps¶
- Set up GitHub OAuth for Git integration
- Deploy your first project
- Add one-click services like PostgreSQL or Redis
- Configure for production
Feature Limitations in Dev Mode
make dev is designed for code development with hot reload. Features that require Docker (service deployment, project containerization) need the full stack:
Troubleshooting¶
Port 8080 already in use¶
Change the port in your .env file:
Database connection refused¶
Ensure PostgreSQL is running and the DATABASE_URL in .env matches your setup:
# Local PostgreSQL
DATABASE_URL=postgres://goforge:password@localhost:5432/goforge?sslmode=disable
# Docker PostgreSQL
DATABASE_URL=postgres://goforge:password@db:5432/goforge?sslmode=disable
templ not found¶
Install the templ CLI:
Permission denied on Docker socket¶
Add your user to the docker group: