This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
forked from likeastore/notifier
-
Notifications
You must be signed in to change notification settings - Fork 23
Environment variables
Adrian Rangel edited this page Jan 29, 2015
·
5 revisions
In order to run notifier
in a prodution environment, some configuration is needed via environment variables.
-
NODE_ENV
: Set toproduction
on production server.Defaults todevelopment
-
PORT
: port wherenotifier
will be listening. Defaults to9001
-
LOCALE
: i18n locale to consider for templates. Refer to source/translations/lib to see which locales are currently supported. -
MONGO_URL
: URL to your MongoDB solution to persist notifications and fetch user preferences. ForDemocracyOS
notifications, use the same database where users are persisted. -
ACCESS_TOKEN
: API key fornotifier
clients.
-
MANDRILL_TOKEN
: API token for if you're using Mandrill-
MANDRILL_FROM_EMAIL
: for mails via Mandrill, this specifies the email address for the sender of outgoing mails (e.g.:[email protected]
) -
MANDRILL_FROM_NAME
: for mails via Mandrill, this specifies the name for the sender of outgoing mails (e.g.:The DemocracyOS team
).
-
-
LOGENTRIES_TOKEN
: API key for logging to logentries -
HOOK_URL
andHOOK_TOKEN
: set these up if you're using resthooks -
TWILIO_ACCOUNT_SID
andTWILIO_ACCOUNT_TOKEN
: set these up if using twilio -
GOOGLE_SERVER_API_KEY
: for Android notification service. -
APPLE_CERT
andAPPLE_KEY
: for Apple's APN service.
Visit our official website - Developed by Net Democracy and forked from likeastore/notifier