This repository was 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 toproductionon production server.Defaults todevelopment -
PORT: port wherenotifierwill 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. ForDemocracyOSnotifications, use the same database where users are persisted. -
ACCESS_TOKEN: API key fornotifierclients.
-
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_URLandHOOK_TOKEN: set these up if you're using resthooks -
TWILIO_ACCOUNT_SIDandTWILIO_ACCOUNT_TOKEN: set these up if using twilio -
GOOGLE_SERVER_API_KEY: for Android notification service. -
APPLE_CERTandAPPLE_KEY: for Apple's APN service.
Visit our official website - Developed by Net Democracy and forked from likeastore/notifier