coke
Version:
A full stack MVC framework that speeds up your web development.
63 lines (53 loc) • 1.03 kB
YAML
# test
server:
# optional, default: 127.0.0.1
host:
# optional, default: 4000
port:
timezone: UTC
cluster: true
base_url: http://test.APPNAME/
db:
db: APPNAME-test
# optional, default: localhost
host:
# optional, default: 27017
port:
# optional
username:
# optional
password:
cookie:
secret: kimjkCFGyblDTk09cga93313dc222b098ujmnhFQ
session:
# optional, default: sessions
collection:
logs:
- sys
- request
- response
- error
- debug
libs:
# libs that must run after server started
started:
# cdn setting
asset_host:
# - http://assets1.example.com
# - http://assets2.example.com
aws:
# your aws key & secret, those must not be empty if you set s3 option to true in assets config
key:
secret:
s3:
bucket: assets.test.APPNAME
dir:
model: app/models
controller: app/controllers
view: app/views
helper: app/helpers
lib: app/libs
locale: app/locales
public: public
schema: db/schema
middleware: app/middlewares