chrootlogin / go-wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go-Wiki

This is work in progress!

Build Status

A wiki software written in Go.

Download

Usage

The easiest way to run go-wiki is with docker:

$ docker run -p 80:8000 -e SESSION_KEY=AVerySecureString rootlogin/go-wiki

But you can also download Go-Wiki and run it:

$ chmod +x ./go-wiki
$ SESSION_KEY=a-very-secret-key ./go-wiki

Environment variables

  • SESSION_KEY: Sets the session key for the auth cookie encryption. (required)
  • REPOSITORY_PATH: Sets the data repository path (default: $PWD/data).

Default login

The following user is available on a new go-wiki installation:

  • Username: admin
  • Password: admin1234

Please change this credentials on your first login or delete the user!

Documentation

The documentation is available on every new instance by default. But you can also find it in the repository.

Development

To work on go-wiki, you need to have Golang and NodeJS installed.

Dependencies

Running

# Run backend
dep ensure
go run wiki.go

# Run frontend
cd /frontend
npm install
npm run dev

About

License:GNU General Public License v3.0


Languages

Language:Go 96.6%Language:Dockerfile 2.5%Language:Makefile 0.9%Language:Shell 0.1%