mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-01-28 22:15:56 +00:00
Gorilla is fully operational
- All mailbox actions working: index, list, show, html, source and delete - Cleaned up extra files from Revel - Took a guess at install process for README.md This closes #4
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
app.name=inbucket
|
||||
app.secret=bPlNFGdSC2wd8f2QnFhk5A84JJjKWZdKH9H2FHFuvUs9Jz8UvBHv3Vc5awx39ivu
|
||||
http.addr=
|
||||
http.port=9000
|
||||
|
||||
[dev]
|
||||
results.pretty=true
|
||||
server.watcher=true
|
||||
smtpd.domain=skynet
|
||||
smtpd.port=2500
|
||||
datastore.path=/tmp/inbucket
|
||||
|
||||
log.trace.output = stderr
|
||||
log.info.output = stderr
|
||||
log.warn.output = stderr
|
||||
log.error.output = stderr
|
||||
|
||||
[prod]
|
||||
results.pretty=false
|
||||
server.watcher=false
|
||||
smtpd.domain=skynet
|
||||
smtpd.port=2500
|
||||
datastore.path=/tmp/inbucket
|
||||
|
||||
log.trace.output = off
|
||||
log.info.output = off
|
||||
log.warn.output = %(app.name)s.log
|
||||
log.error.output = %(app.name)s.log
|
||||
@@ -17,7 +17,7 @@ ip4.address=0.0.0.0
|
||||
ip4.port=2500
|
||||
|
||||
# used in SMTP greeting
|
||||
domain=skynet
|
||||
domain=inbucket.local
|
||||
|
||||
#############################################################################
|
||||
[web]
|
||||
@@ -35,7 +35,7 @@ theme=integral
|
||||
template.dir=%(install.dir)s/themes/%(theme)s/templates
|
||||
|
||||
# Should we cache parsed templates (set to false during theme dev)
|
||||
template.cache=false
|
||||
template.cache=true
|
||||
|
||||
# Path to the selected themes public (static) files
|
||||
public.dir=%(install.dir)s/themes/%(theme)s/public
|
||||
|
||||
21
conf/routes
21
conf/routes
@@ -1,21 +0,0 @@
|
||||
# Routes
|
||||
# This file defines all application routes (Higher priority routes first)
|
||||
# ~~~~
|
||||
|
||||
GET / Application.Index
|
||||
GET /mailbox/{name} Mailbox.Index
|
||||
GET /mailbox Mailbox.Index
|
||||
GET /mailbox/list/{name} Mailbox.List
|
||||
GET /mailbox/show/{name}/{id} Mailbox.Show
|
||||
GET /mailbox/source/{name}/{id} Mailbox.Source
|
||||
GET /mailbox/html/{name}/{id} Mailbox.Html
|
||||
POST /mailbox/delete/{name}/{id} Mailbox.Delete
|
||||
|
||||
# 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}
|
||||
Reference in New Issue
Block a user