cmd | ||
docs | ||
internal | ||
scripts | ||
web | ||
.gitignore | ||
go.mod | ||
go.sum | ||
LICENSE.md | ||
README.md |
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:
$ go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
- Install PostgreSQL.
- Create a new Postgres user and database.
- Set your environment variables. See
docs/envvars.mds
for an list of variables that need to be set. - Run
scripts/migrateup
to setup the database tables. - Run
go run cmd/api
to start the backend.
Frontend has a seperate setup. See web/README.md
for more
info.