Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

asivitz/slackannounce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This slack integration uses NodeJS, a Postgres database, and is deployed to Heroku.

Getting started

Follow this guide for doing Node development on Heroku: https://devcenter.heroku.com/articles/getting-started-with-nodejs Most important points:

  1. Get nodejs (https://nodejs.org/en/download/)
  2. Download heroku toolbelt
  3. heroku login
  4. Get Postgres.app (http://postgresapp.com/), follow setup instructions (http://postgresapp.com/documentation/cli-tools.html), and start it up.
  5. export DATABASE_URL=postgres:///mitdb
  6. Pull down production database: heroku pg:pull HEROKU_POSTGRESQL_BRONZE_URL mitdb --app mit-ult-slack
  7. npm install
  8. heroku local web
  9. Test it: http://localhost:5000/practice?id=20

Here's some general information on accessing the heroku DB from the command line: https://devcenter.heroku.com/articles/heroku-postgresql#using-the-cli

If you make changes and want to push them to production, commit them to the master branch and then run git push heroku master

About

Slack integration for announcements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors