gablog

module
v0.0.0-...-61b3440 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2013 License: BSD-3-Clause

README

Gopher Academy Blog engine.

Shamelessly forked from go.blog

To add articles, fork and create articles in the /content directory.  See examples in /example articles directory, or read go.blog and slide documentation.  http://godoc.org/code.google.com/p/go.talks/present

Send pull request with article.

Local development

Clone repo to the proper location in $GOPATH (src/github/bketelsen/gablog).
cd cmd/blog && go build -o blog && cd ../..
./cmd/blog # Runs on localhost:9003 by default; use -http to change

Deployment:

ssh to GA server. SU to git user:
cd /var/www/gablog
git pull
ps -eaf | grep blog
kill $PID of blog
nohup ./blog &

TODO:

Better deployment script!

Directories

Path Synopsis
cmd
blog
This is a blog server for articles written in present format.
This is a blog server for articles written in present format.
html2article
This program takes an HTML file and outputs an corresponding article file in present format.
This program takes an HTML file and outputs an corresponding article file in present format.
content
pkg
atom
Package atom defines XML data structures for an Atom feed.
Package atom defines XML data structures for an Atom feed.
support
racy
This program demonstrates a race condition.
This program demonstrates a race condition.

Jump to

Keyboard shortcuts

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