MAIL
Pre installation
mac
sudo port install nodejs mongodb mongodb-tools
ubuntu
sudo apt-get install nodejs mongodb
Installation
git clone git@github.com:bucket-list/mail.git
cd mail
npm install
cp ./server/configs/config.sample.js ./server/configs/config.js
cp ./.env.sample ./.env
npm run manual tools/setup-messages.js
Startup
mongodb
mongod
cron
npm run start
ENV VARIABLES
see common
see utils
3rd party API's
All 3rd party API's are throwing error up by default
You have to enable them by passing NAME_API=true to command line
All boolean, default false
MAILGUN
- MAILGUN_APIKEY
- MAILGUN_DOMAIN
TWILIO
- TWILIO_ACCOUNT_SID
- TWILIO_AUTH_TOKEN
- TWILIO_NUMBER