ticoombs / gobin

A pastebin web application focus at CLI support (sprunge inspired)

Home Page:https://gobin.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gobin

A pastebin web application focused at CLI support (sprunge inspired)

Installation

Install Required Packages

$ go get github.com/kinghrothgar/gobin github.com/bmizerany/pat github.com/grooveshark/golib/gslog bitbucket.org/kardianos/osext github.com/mediocregopher/flagconfig github.com/kinghrothgar/redis/pool github.com/mediocregopher/radix/redis github.com/kinghrothgar/pygments github.com/kinghrothgar/gobin

Install Redis

Check out http://redis.io/download

Install Pygments (Optional)

$ pip install pygments

Note: depending on your configuration, pygments may install at /usr/bin/pygmentize or /usr/local/bin/pygmentize

Configuration

$ go run gobin.go --example > gobin.conf

Running

Start redis

$ redis-server --port 6666

Run gobin

$ go run gobin.go --conf=gobin.conf

or without a conf file

$ go run gobin.go --storetype=redis --storeconf=0.0.0.0:6666 --domain=0.0.0.0 --pygmentizepath=/usr/bin/pygmentize --listen=0.0.0.0:3000 --htmltemplates=/home/vagrant/code/gobin/templates/htmlTemplates.tmpl --texttemplates=/home/vagrant/code/gobin/templates/textTemplates.tmpl --staticpath=/home/vagrant/code/gobin/static

About

A pastebin web application focus at CLI support (sprunge inspired)

https://gobin.io

License:Other


Languages

Language:Go 87.3%Language:CSS 10.7%Language:Makefile 2.0%