teian

command module
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: BSD-3-Clause Imports: 21 Imported by: 0

README

teian - 提案

A service that allows users to submit suggestions.

Installation

go get -u github.com/kusubooru/teian

Usage

Local example:

teian -dbconfig=username:password@(localhost:3306)/database?parseTime=true

Live example:

teian -http="localhost:8081"
  -loginurl="/user_admin/login"
  -boltfile="/<writeable path>/teian.db"
  -dbconfig="username:password@(host:port)/database?parseTime=true"
  -tlscert="/<TLS public key path>/cert.pem"
  -tlskey="/<TLS private key path>/privkey.pem"

Notes

The program needs data from MySQL for users, authentication and some common configuration. This is handled by kusubooru/shimmie which is vendored. The database schema should be the same as the one used in v2.5.1 of the Shimmie2 project.

The suggestions are stored in a file teian.db using boltdb.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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