bucketwiki

command module
v0.0.0-...-aa3ac0b Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2017 License: MIT Imports: 35 Imported by: 0

README

Bucket Wiki

A simple Wiki system written in golang.

Build Status Coverage Status Go Report Card

screenshot

  • Amazon S3 back-end, No need to setup/backup database.
  • Easy to share a page to the public

Deploy to Heroku

Deploy

Build and run

Set your bucket name and credentials to environment variable.

AWS_BUCKET_NAME=<bucket name>
AWS_BUCKET_REGION=<region name>
AWS_ACCESS_KEY_ID=<access key>
AWS_SECRET_ACCESS_KEY=<secret access keys>
TWITTER_KEY=<twitter key>
TWITTER_SECRET=<twitter secret>
URL=<external URL for callback like http://localhost:8080>
WIKI_SECRET=<arbitrary string for your wiki>

Get dependencies and build

go get -v
go build

Run and access http://localhost:8080/

Run on Docker

docker run -d -p 8080:8080\
    -e AWS_BUCKET_NAME="<bucket name>" \
    -e AWS_BUCKET_REGION="<region name>" \
    -e AWS_ACCESS_KEY_ID="<access key>" \
    -e AWS_SECRET_ACCESS_KEY="<secret access keys>" \
    -e TWITTER_KEY="<twitter key>" \
    -e TWITTER_SECRET="<twitter secret>" \
    -e URL="<external URL for callback like http://localhost:8080>" \
    -e WIKI_SECRET="<arbitrary string for your wiki>" \
    juntaki/bucketwiki

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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