1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00
Files
go-inbucket/etc/dev-start.sh
James Hillyerd c695a2690d ui: Mark messages as seen after 1.5s for #58
Embolden subject font for unseen messages.
2018-04-01 15:16:48 -07:00

20 lines
585 B
Bash
Executable File

#!/bin/sh
# dev-start.sh
# description: Developer friendly Inbucket configuration
export INBUCKET_LOGLEVEL="DEBUG"
export INBUCKET_SMTP_DOMAINNOSTORE="bitbucket.local"
export INBUCKET_WEB_TEMPLATECACHE="false"
export INBUCKET_WEB_COOKIEAUTHKEY="not-secret"
export INBUCKET_STORAGE_TYPE="file"
export INBUCKET_STORAGE_PARAMS="path:/tmp/inbucket"
export INBUCKET_STORAGE_RETENTIONPERIOD="15m"
if ! test -x ./inbucket; then
echo "$PWD/inbucket not found/executable!" >&2
echo "Run this script from the inbucket root directory after running make" >&2
exit 1
fi
exec ./inbucket $*