Skip to content

seka/bbs-sample

Repository files navigation

bbs-sample

Simple bbs of golang.

Installation

$ git clone https://github.com/seka/bbs-sample $GOPATH/src/github.com/seka/bbs-sample
$ cd $GOPATH/src/github.com/seka/bbs-sample
$ dep ensure

dep is the go vendoring tool in detail below.

golang/dep

Run

Docker

$ cd $GOPATH/src/github.com/seka/bbs-sample
$ docker-machine start docker
$ eval $(docker-machine env docker)
$ docker-machine ssh docker -L 8080:localhost:8080
$ docker-compose up

Vagrant

# sample database
$ vagrant box add https://atlas.hashicorp.com/viniciusfs/boxes/centos7/
$ cd $GOPATH/src/github.com/seka/bbs-sample/script
$ vagrant up

# application
$ cd $GOPATH/src/github.com/seka/bbs-sample
$ go run cmd/bbsd/main.go

note: Vagrant version less then 1.4.1 if you using macOS

About

golang によるシンプルな bbs の実装

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published