Files
goto/docs/development.md
eleith 0ebbd89666
ci/woodpecker/pr/cli Pipeline was successful
ci/woodpecker/pr/config Pipeline was successful
ci/woodpecker/pr/db Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/pr/worker Pipeline was successful
ci/woodpecker/push/cli Pipeline was successful
ci/woodpecker/push/config Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
docs: add GoTo reference pages and screenshots
2026-11-24 09:56:29 -08:00

1.1 KiB

Development

Read the philosophy. Keep changes small.

With Docker Compose, run from apps/web:

mkdir -p config data
cp -n ../../examples/goto.yaml config/goto.yaml

Edit config/goto.yaml before starting. Set url.app to http://localhost:5173 and configure localhost:5173 as a domain if you want to try redirects on the same host. Replace the example OIDC block with development credentials or configure your own provider. Set the referenced secrets in apps/web/.env, or omit auth.secret for a throwaway local session secret. See the configuration reference for the fields.

Make data/ writable by the container user. The default UID and GID are 1000:1000; on Linux, set LOCAL_UID and LOCAL_GID in the Compose environment to match your user if they differ.

docker compose -f docker-compose.dev.yml up --build --wait

Open the admin. The dev Compose setup runs the web app and worker; the web app hot-reloads as you edit. If you have mise and fnox, mise run docker -- up --build --wait wraps the same Compose command. See Testing for checks.