1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-08 20:21:55 +00:00

revel skeleton

This commit is contained in:
James Hillyerd
2012-10-06 20:27:00 -07:00
parent 7eacfb8fec
commit be97a4528f
10 changed files with 125 additions and 0 deletions

22
conf/app.conf Normal file
View File

@@ -0,0 +1,22 @@
app.name=inbucket
app.secret=bPlNFGdSC2wd8f2QnFhk5A84JJjKWZdKH9H2FHFuvUs9Jz8UvBHv3Vc5awx39ivu
http.addr=
http.port=9000
[dev]
results.pretty=true
server.watcher=true
log.trace.output = off
log.info.output = stderr
log.warn.output = stderr
log.error.output = stderr
[prod]
results.pretty=false
server.watcher=false
log.trace.output = off
log.info.output = off
log.warn.output = %(app.name)s.log
log.error.output = %(app.name)s.log

14
conf/routes Normal file
View File

@@ -0,0 +1,14 @@
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
GET / Application.Index
# Ignore favicon requests
GET /favicon.ico 404
# Map static resources from the /app/public folder to the /public path
GET /public/ staticDir:public
# Catch all
* /{controller}/{action} {controller}.{action}