~m15o/midnight-pub

Virtual pub

b593af4 Update link to nightfall city

~m15o pushed to ~m15o/midnight-pub git

2 months ago

e8a2884 New logo thanks to she12!

~m15o pushed to ~m15o/midnight-pub git

4 months ago
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