Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gswalden/stacy
A friendly Slack Bot for conducting standup
https://github.com/gswalden/stacy
nodejs slack slackbot
Last synced: 8 days ago
JSON representation
A friendly Slack Bot for conducting standup
- Host: GitHub
- URL: https://github.com/gswalden/stacy
- Owner: gswalden
- Created: 2015-07-10T15:27:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T21:13:46.000Z (over 6 years ago)
- Last Synced: 2023-05-01T03:37:20.336Z (over 1 year ago)
- Topics: nodejs, slack, slackbot
- Language: JavaScript
- Size: 23.4 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stacy, the Slack PM
### How to run on a brand-new Mac
```sh
#1 Open Terminal#2 Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"#3 Install git & node
brew install git node#4 clone this repo and enter the directory
cd ~/
git clone git://github.com/gswalden/stacy.git
cd ~/stacy#5 Install node dependencies
npm install#6 Set environment variable SLACK_TOKEN with a Slack Bot token generated at
# https://makerbot.slack.com/services/new/bot (replace makerbot with your Slack group),
# and start Stacy
SLACK_TOKEN=xoxo-abc12345679 npm start
```### How I run Stacy
Instead of step `#6` above, copy the token and create a new file:
```json
{
"script": "index.js",
"ext": "js",
"env": {
"BOTMASTER": "gregbot",
"SLACK_TOKEN": "xoxo-abc12345679"
}
}
```Save as `nodemon.json` in the repo's root. The `BOTMASTER` field is optional and should be your Slack username.
Now, return to Terminal and simply type `gulp` to boot up the server. An added bonus of this method: any changes to any `.js` files will be detected and automatically restart the script with your new code.
### Deploying to Heroku
A `Procfile` already exists, all you need to do is set `SLACK_TOKEN` as an environment variable in Heroku's config, then deploy.
### To Do
* Restructure to be used as an npm module