Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Configuration

sluu99 edited this page Mar 7, 2013 · 5 revisions

Make sure you have the following environment variables set

export SHAWTY_DOMAIN=""            # e.g. SHAWTY_DOMAIN="luu.bz"
export SHAWTY_DB_TYPE=""           # "pg" or "mysql"
export SHAWTY_DB=""                # e.g. SHAWTY_DB="user:password@tcp(localhost:3306)/dbname"
export SHAWTY_PORT=8080            # e.g. SHAWTY_PORT=8080
export SHAWTY_MODE="HTTP"          # "HTTP" or "FCGI"
export SHAWTY_LPM=12               # number of links can be created per minute (existings don't count)
export SHAWTY_LOG_DIR=""           # log directory. leave blank ("") to use standard output

Clone this wiki locally