go-wiki

command module
v0.0.0-...-5bca223 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2018 License: GPL-3.0 Imports: 14 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL