Hey o/
I’m trying to get Writefreely working with docker and eventually write up a small Kubernetes deployment. I’m struggling right at the start to actually create a Writefreely instance to play around with.
My commands:
docker run -v $PWD/config.ini:/go/src/app/config.ini -v $PWD/keys:/go/keys writefreely -c /go/src/app/config.ini --gen-keys
docker run -v $PWD/config.ini:/go/src/app/config.ini -v $PWD/keys:/go/keys writefreely -c /go/src/app/config.ini
With this config:
[server]
hidden_host =
port = 8080
[database]
type = sqlite3
filename = user.sql
[app]
site_name = WriteFreely Example Blog!
host = http://localhost:8080
theme = write
disable_js = false
webfonts = true
single_user = true
open_registration = false
min_username_len = 3
max_blogs = 1
federation = true
public_stats = true
private = false
update_checks = true
I get this and then it exits:
ERROR: 2020/12/06 18:41:32 database.go:805: Failed selecting from collections: no such table: collections
How do i fix this error and is it possible to have writefreely create the table if one doesn’t exist already?