SRAD=newslash-sradjp
SRCDIR=src/newslash_web
+CONFDIR=src/configs
CORE_DEST=$(CURDIR)/debian/$(CORE)/usr/share/newslash
+CORE_ETC=$(CURDIR)/debian/$(CORE)/etc/newslash
ASSETS_DEST=$(CURDIR)/debian/$(ASSETS)/usr/share/newslash
SRAD_DEST=$(CURDIR)/debian/$(SRAD)/usr/share/newslash
find ./external/perllib -name '*.pm' \
-exec install -pDm 644 {} $(CORE_DEST)/{} \;
install -pDm 755 $(SRCDIR)/script/newslash_web $(CORE_DEST)/script/newslash_web
+ mkdir -m 755 -p $(CORE_ETC)
+ install -pDm 644 $(CONFDIR)/newslash.conf.example $(CORE_ETC)/newslash.conf.example
install/$(ASSETS)::
--- /dev/null
+---
+BasicAuth:
+ enable: 0
+ username: ''
+ password: ''
+ message: this is newslash
+
+hypnotoad:
+ listen:
+ - http://*:3000
+
+Site:
+ name: newslash
+ root: "/"
+ base_url: http://example.com:3000
+ description: yet another news site
+ img_path: "/img"
+ css_path: "/css"
+ topic_icon_base_url: "/img/topic_icon"
+
+CSSCompile:
+ source_dir: css
+ dest_dir: public/css
+ lessc: "/usr/bin/lessc"
+
+System:
+ secret_key: secret strings for hasing
+ session_store: kvs
+ salt: ''
+ readonly: 0
+
+Story:
+ title_max_byte: 100
+
+Database:
+ host: database-host-name
+ name: newslash
+ user: newslash
+ password: password
+
+KeyValueStore:
+ type: redis
+ host: redis-host-name:6379
+
+Legacy:
+ memcached: slash:11211
+
+Editor:
+ allowed_tags:
+ b: []
+ i: []
+ p: []
+ br: []
+ a:
+ - href
+ ol:
+ - start
+ ul: []
+ li: []
+ dl: []
+ dt: []
+ dd: []
+ em: []
+ strong: []
+ tt: []
+ blockquote:
+ - title
+ - cite
+ div: []
+ ecode: []
+ del: []
+ ins: []
+ sub: []
+ sup: []
+ quote: []
+ strike: []