A forum mixed with a blog, to inspire real discussions.
Find a file
2024-12-30 10:02:01 +00:00
cmd storage layer 2024-12-30 10:02:01 +00:00
docs storage layer 2024-12-30 10:02:01 +00:00
internal storage layer 2024-12-30 10:02:01 +00:00
scripts storage layer 2024-12-30 10:02:01 +00:00
web initial commit, basic framework setup 2024-12-30 06:34:43 +00:00
.gitignore initial commit, basic framework setup 2024-12-30 06:34:43 +00:00
go.mod storage layer 2024-12-30 10:02:01 +00:00
go.sum storage layer 2024-12-30 10:02:01 +00:00
LICENSE.md initial commit, basic framework setup 2024-12-30 06:34:43 +00:00
README.md storage layer 2024-12-30 10:02:01 +00:00

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.