01 / PREREQUISITES

Bring Git, Docker and Python 3.

That’s the whole list. Docker needs the Compose v2 plugin and BuildKit on an amd64 or arm64 host; it brings the build toolchains. Python 3 generates your private .env. You don’t need an AI or Cloudflare account.

LOCAL TERMINAL
git clone https://github.com/mjtechguy/gitgolf.git golf
cd golf
./scripts/install.sh

The installer checks your machine and free ports, writes a private .env, builds and starts the stack, waits until it’s ready and creates your administrator. It asks for a username and email, then prints where it saved your generated password. Golf runs on localhost:8080 and Forgejo on localhost:3001. Re-running is safe.

02 / ACCOUNT

What the installer set up.

Public registration is off, so every identity is created on purpose. The installer did this for your administrator; add other people the same way.

1. A Forgejo user

Created with Forgejo’s administrator command, plus a scoped token for repositories, issues and organizations. Every person gets their own identity.

2. A Golf account

Linked to that Forgejo user and token, with its own Golf password. To add more people, follow the installation guide.

3. Your first repository

Sign in to Golf, then create or open a repository you’re allowed to use and browse its source, issues and pull requests. Test runners and integrations are set up separately.

03 / RESTART

Restart without losing anything.

Stop and start the stack as often as you like. Your data lives in named volumes.

LOCAL TERMINAL
docker compose stop
docker compose start
# Retains named volumes:
docker compose down
# Recreate after down, same data:
docker compose up -d

Keep .env, the encryption keys, both databases and the Forgejo volumes. Never add --volumes to a routine restart: it deletes them. A full restore of the current Forgejo stack still needs testing.

Running? Know its limits.

The capability notes show what has been tested on the portable stack and what is still on the roadmap.

Search Golf

34 pages and guides

Tab through results · Enter to open · Escape to close