-
Notifications
You must be signed in to change notification settings - Fork 23
Installation
This is a quick reference to get notifier
up and running.
To get started with notifier
, you will need to have:
- A running instance of DemocracyOS (version 0.9.0 and above); so you got something to notify users about ;)
- A mandrill service instance.
- Fork or clone this repository.
-
cd
to the project's location - Based on the files under the
config
directory, create adevelopment.congig.js
to create your own configuration file (i.e.:cp config/test.development.js config/development.config.js
and set up your custom values). - Make sure DemocracyOS' MongoDB is running and reachable as configured in
config/development.config.js
. - From the root path, run
make
(whereMakefile
is located).
Not supported. Please address your complaints directly to Mr. Stallman.
- Configure your environment variables for production; specifically, set
NODE_ENV
toproduction
- From the project's root path, you need to run:
-
npm install
to install node dependencies. -
node app.js
to run the app.
If you're running other node services in the same server and you can't compromise NODE_PATH
as an env variable, just prepend NODE_PATH=.
to the make
command.
You can check the current Notifier
version running on http://route-to-notifier/
If something goes wrong you can always go back to a clean slate running make clean
.
For users behind a corporate proxy, it's recommended to redirect git clone
to https (git config --global url."https://".insteadOf git://) and set properly http and https proxy env.
Finally, check your environment variables and read Environments and config files if something is not working properly.
TBD
Visit our official website - Developed by Net Democracy and forked from likeastore/notifier