b3c2c48 Remove CSRF middleware and use same-site cookie instead
~m15o pushed to ~m15o/midnight-pub git
Midnight Pub midnight.pub is a tiny virtual pub where people can meet and unwind all from the coziness of a modest little place in a small alley off mainstreet internet. This is the software that powers the place. Here's how to run it: - Clone this repository - Install postgresql - run `go build main.go` with env variables from `config/cfg.go` Database configuration # Switch to the postgres user $ su - postgres # Create a database user for midnight $ createuser -P midnight Enter password for new role: ****** Enter it again: ****** # Create a database for midnight that belongs to our user $ createdb -O midnight midnight