metakgp/mftp

Name: mftp

Owner: metakgp

Description: Automatic updates for KGP T&P make murderous rage slightly pleasant.

Created: 2015-11-28 17:38:41.0

Updated: 2017-06-29 10:05:49.0

Pushed: 2017-11-23 22:34:46.0

Homepage:

Size: 43

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

mftp

Deploy

Get emails when T&P stuff changes on IIT KGP's ERP.

Setup

Deploy to Heroku and set config variables.

Required config variables

The following is a list of all the config variables that are required for MFTP to work:

L_ADDRESS
A1
A2
A3
PASSWORD
Q1
Q2
Q3
USERNAME
GUN_API_KEY
GUN_DOMAIN
GUN_PUBLIC_KEY
GUN_SMTP_LOGIN
GUN_SMTP_PASSWORD
GUN_SMTP_PORT
GUN_SMTP_SERVER
ODB_URI
CES_EMAIL_ADDRESS

Among these, the variables prefixed by MAILGUN will be added by Heroku when you run the command heroku addons:create mailgun:starter.

The MONGODB_URI env variable will be set by heroku addons:create mongolab:sandbox.

You need to add the other variables. You can add either by using the command heroku config:set KEY=VALUE from the command line, or you can use the Heroku web interface, under the Settings tab.

WTF

mftp monitors your ERP account for changes to the notices and the companies list, and sends you an email if there are any new or modified entries. Your credentials are stored as Heroku config variables, and you run your own Heroku instance.

License

GPLv3. Issues and pull requests are welcome.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.