Skip to content

wu-xing/wood-serve

Repository files navigation

Wood

(backend repository) a notes/wiki write system.

configure

Wood configure used Viper.

All configure options here. The prefie is WOOD_

name Description Default
IMAGE_DIR store uploaded images place ./upload
DISABLE_SIGN_UP disable sign up flag true
DB_HOST database host localhost
DB_USER databse user
DB_NAME databse name
DB_PASSWD databse passwd
EVENT_LOG_FILE event log file path ./wood-event.log
DB_PASSWD databse passwd

development

dependency

  • go get github.com/lib/pq

deploy

log

Know Issue

  • pq: function uuid_generate_v4() does not exist

you need grand pg user as SUPERUSER, or use SUPERUSER execute sql CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages