~m15o/smol.pub

Publish on the smol net

379fed3 Add global feed

~m15o pushed to ~m15o/smol.pub git

2 years ago

22ac0c1 cors for feed

~m15o pushed to ~m15o/smol.pub git

2 years ago
Smol Pub

A journal service for the small web that provides a low-tech web interface to manage your posts. Your journal is available on Web, Gemini and Gopher.

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 smolpub
$ createuser -P smolpub
Enter password for new role: ******
Enter it again: ******

# Create a database for smolpub that belongs to our user
$ createdb -O smolpub smolpub