g-wiki

A simple wiki built with Golang with Git as its back-end.

  • 所有者: mehlium/g-wiki
  • 平台:
  • 许可证: GNU General Public License v3.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

go-wiki

A KISS wiki built on golang with git as the storage back-end. Content
is formatted in markdown
syntax
. The wiki is
rendered with go templates and bootstrap css.

Current running example: wiki.mehl.no

Build and run locally

Ensure that go is installed. Export the GOPATH environment variable to
where you checked out the g-wiki project:

export GOPATH=$GOPATH:/some/path/g-wiki/

Download dependencies and compile the binary by:

go get -a
go build -o wiki .

Create a git repository in the files folder:

git init files/

You can now run g-wiki with the standard settings by executing the
binary:

./wiki -local=":8080"

Point your web browser to http://localhost:8080/ to see the wiki in
action. The wiki tries to store files in a files folder within the
project directory. This folder has to exist and be writeable by the user
running the g-wiki instance.

Docker

Ensure that docker is installed. The docker file will create a files directory for you, and initialize a git repository there. Rembember that these files are not persistent. Dependent on your environement run docker as root (or not) and execute the following commands:

docker build -t go-wiki:latest .

If this executes succesfully your container is ready:

docker run -d -p 8080:8080 go-wiki:latest

This starts the web application in deamon mode, and the application should be accessible on http://localhost:8080/

主要指标

概览
名称与所有者mehlium/g-wiki
主编程语言Go
编程语言Go (语言数: 3)
平台
许可证GNU General Public License v3.0
所有者活动
创建于2014-04-05 14:09:28
推送于2016-10-22 17:28:06
最后一次提交2016-10-22 19:27:59
发布数0
用户参与
星数117
关注者数5
派生数16
提交数46
已启用问题?
问题数2
打开的问题数1
拉请求数0
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?