Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.08 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.08 KB

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";