- Go Programming Language
- Revel A high-productivity web framework for the Go language.
- GORM The fantastic ORM library for Golang, aims to be developer friendly.
- Show and edit pages by everybody
- Markdown editor
- Bracket link
- ex) Make link of "Some Page": [[Some Page]]
- Revision and Diff
- Attachment file on local disk, Google Cloud Storae and Amazon S3.
- User authentication and permissions
- Detect editing page collision
- and more...
When you start container exposed port 9000, after open url http://localhost:9000/ from your browser.
docker run -d -p 9000:9000 yujiod/wiki
# same above
docker run -d -p 9000:9000 -e DB_DRIVER=sqlite3 -e DB_SOURCE="./wiki.db" yujiod/wiki
docker run -d -p 9000:9000 -e DB_DRIVER=mysql -e DB_SOURCE="dbuser:dbpass@tcp(hostname:3306)/dbname?charset=utf8" yujiod/wiki
The Data Source Name, see Go-MySQL-Driver.
docker run -d -p 9000:9000 -e DB_DRIVER=postgres -e DB_SOURCE="host=hostname user=dbuser dbname=dbpass sslmode=disable" yujiod/wiki
The Connection String Parameters, see pq.
You need Go, install it before.
go get github.com/yujiod/wiki/app
go get github.com/revel/cmd/revel
revel run github.com/yujiod/wiki
# Installing to /usr/lcoal/wiki.
revel build github.com/yujiod/wiki /usr/local/wiki
/usr/local/wiki/run.sh
# Creating wiki.tar.gz
revel package github.com/yujiod/wiki
Released under the MIT License.