MSM Resources information on telegram.
Clone repo and install.
npm install
Run locally
npm run dev
Include models to use express api for CRUD
const potentialModel = require('./models/potentials_model');
Include routes too
app.use('/potential', require('./routes/potential_api'));
Login to heroku
$ heroku login
Connect to repository
$ heroku git:remote -a msm-bot-staging
Heroku can move files from staging > production
Deploy your changes
$ git add .
$ git commit -am "make it better"
$ git push heroku HEAD:master
Config Vars for Heroku (similar to .env)
DONT FORGET TO UPDATE HEROKU WITH YOUR OWN CONFIG VARS
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.