~m15o/midnight-pub

Virtual pub
Update link to nightfall city
New logo thanks to she12!
Add link to smol pub

clone

read-only
https://git.sr.ht/~m15o/midnight-pub
read/write
git@git.sr.ht:~m15o/midnight-pub

You can also use your local clone with git send-email.

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