Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 1.79 KB

README.md

File metadata and controls

23 lines (22 loc) · 1.79 KB

Health Buddy Slack app

Health Buddy is a Slack App that helps you maintain mental and physical health throughout the day by sending periodic reminders and uplifting messages.

Sources used

How to install on your own Slack channel

  • First things first, you need to create a folder to hold all of these files and set up a virtualenv. You can do this by opening your terminal and navigating into the project folder. Then just install the virtualenv with this code: --python=/Users/username/Software/Python-3.6.0/mybuild/bin/python3 env. To activate, use: source env/bin/activate.
  • Next, you must install Slack Developer Kit for Python. Do that by typing pip install slackclient in the command line.
  • Then you must open slack in your browser, and retrieve the slack channel ID, located in the URL. Paste that into "channel."
  • After that, generate your own slack token. To read about different slack tokens, visit https://api.slack.com/docs/token-types. You need the Oauth Bot User Token.
  • Invite health-buddy to the slack channel!
  • If you want, you can add more messages into JSON file.
  • Finally, deploy to Heroku. Here's is a helpful video we used: https://www.youtube.com/watch?v=DwWPunpypNA. We also used Heroku Scheduler to have Health Buddy run every four hours.
  • You're good to go!

Questions, comments, concerns?