fog/README.md
2024-12-30 10:02:01 +00:00

756 B

Discourse the right way

Fog is a Forum mixed with a Blog, intended to encourage fruitful discussion and the spread of knowledge.

To get started:

  1. Install Go.
  2. Install migrate:
$ go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
  1. Install PostgreSQL.
  2. Create a new Postgres user and database.
  3. Set your environment variables. See docs/envvars.mds for an list of variables that need to be set.
  4. Run scripts/migrateup to setup the database tables.
  5. Run go run cmd/api to start the backend.

Frontend has a seperate setup. See web/README.md for more info.