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
Size: 43
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Get emails when T&P stuff changes on IIT KGP's ERP.
Deploy to Heroku and set 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.
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.
GPLv3. Issues and pull requests are welcome.