Skip to content
Inge Jørgensen edited this page Oct 10, 2013 · 1 revision
Variable Required Info
SUGAR_SECRET_KEY_BASE Yes Set to a long, random string
SUGAR_SECRET_TOKEN - Use if you are upgrading from Rails 3
SUGAR_SESSION_KEY - Default: _sugar_session
SUGAR_DB - Database backend. Default: mysql, also valid: postgresql, sqlite
SUGAR_DB_DATABASE - Default: sugar_<%= Rails.env %>
SUGAR_DB_HOST - Default: localhost
SUGAR_DB_USERNAME - Default: rails
SUGAR_DB_PASSWORD - Default: rails for PostgreSQL, blank for MySQL
Clone this wiki locally