A forum mixed with a blog, to inspire real discussions.
| 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.mdsfor an list of variables that need to be set. - Run
scripts/migrateupto setup the database tables. - Run
go run cmd/apito start the backend.
Frontend has a seperate setup. See web/README.md for more
info.