Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 2.67 KB

contributing.md

File metadata and controls

55 lines (41 loc) · 2.67 KB

Contributing Guide

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making any changes. This way we can guide you through the process and give feedback.

Pull Request Process

You can contribute changes to this repo by opening a pull request:

  1. After forking this repository to your Git account, make the proposed changes on your forked branch.
  2. Run tests and linting locally.
  3. Commit your changes and push them to your forked repository.
  4. Navigate to the main project repository and select the Pull Requests tab.
  5. Click the New pull request button, then select the option "Compare across forks"
  6. Leave the base branch set to main. Set the compare branch to your forked branch, and open the pull request.
  7. Once your pull request is created, ensure that all checks have passed and that your branch has no conflicts with the base branch. If there are any issues, resolve these changes in your local repository, and then commit and push them to git.
  8. Similarly, respond to any reviewer comments or requests for changes by making edits to your local repository and pushing them to Git.
  9. Once the pull request has been reviewed, those with write access to the branch will be able to merge your changes into the project repository.

If you need more information on the steps to create a pull request, you can find a detailed walkthrough in the Github documentation.

Quick Start

Requirements: Go 1.27+, Node 24.21+, pnpm, and Docker (for the dev containers).

pnpm install              # frontend dependencies
task deps                 # Go toolchain binaries (golangci-lint, goose, …)
task config:generate      # write app.config.json, then fill in the secrets
cp .env.example .env.local && edit .env.local
task compose:up           # postgres, mailpit, and the dev stack
task db:initialize        # migrations + system seed + first administrator
task dev                  # the dev loop: Vite + HMR behind the Go proxy on :3000

Sign in as the administrator initialize created, then make yourself at home:

task lint                 # all linters (Go + JS)
task test                 # the test suites
task check                # vet + migrations + formatting

Read the deployment guide before serving a real deployment, and the product guide for what is already built in.


Back to Documentation Index