goblog

command module
v0.0.0-...-c6f81c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

README

goblog

No-frills blog written in go using Cassandra with an open api for posting (so we can post form other things)

Installation

Before you run anything, edit the config

cp static/example.toml static/config.toml
$EDITOR static/config.toml

Set environment to prod

sed -i '0,/dev/s/dev/prod/' db/scripts/load-db.sh

Also set a volume for persisting data

mkdir -p /var/lib/cassandra
tee docker-compose.yml <<-'EOF'
    volumes:
	- /var/lib/cassandra:/var/lib/cassandra
EOF

goblog is best served with Docker Compose

docker-compose up -d --build

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL