GithubHelp home page GithubHelp logo

songgao / gablog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bketelsen/gablog

0.0 3.0 0.0 7.71 MB

Gopher Academy Blog -- fork of go.blog

Home Page: http://blog.gopheracademy.com

License: BSD 3-Clause "New" or "Revised" License

Go 14.52% CSS 55.10% JavaScript 30.38%

gablog's Introduction

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

To set up a local copy of the blog, build it and run it on http://localhost:9003, just enter the following:

git clone https://github.com/bketelsen/gablog.git
cd cmd/blog
go get -d # download dependencies
go build # build the blog
cd ../..
./cmd/blog/blog

The blog command also supports some configurable parameters:

$ ./cmd/blog/blog --help
Usage of ./cmd/blog/blog:
  -content="content/": path to content files
  -http="localhost:9003": HTTP listen address
  -static="static/": path to static files
  -template="template/": path to template files

Deployment

To deploy this to a server named go-academy-server, enter the following:

ssh go-academy-server
sudo -i git
cd /var/www/gablog
git pull
ps -eaf | grep blog
kill $PID of blog
nohup ./blog &

TODO

Better deployment script!

gablog's People

Contributors

andybons avatar ardan-bkennedy avatar bketelsen avatar cespare avatar codegangsta avatar davecheney avatar josephholsten avatar jystewart avatar mattn avatar mholt avatar mindscratch avatar mpnordland avatar rcrowley avatar shanemhansen avatar unknwon avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.