New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup Local Development with localtunnel and Slack #42
Conversation
e5788e0
to
962f651
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, i think Step 4 of "Set up greetbot" needs to be moved up to before Step 2 of "Grab your tokens for your .env file", since you don't get the tokens until the app is installed, but you can't install the app without a bot user. There's also a typo in Slash Commnands
.
Still need to go through the events, as this branch is now out of date with development, and at the very least, package.json
is different, so haven't run the install process yet.
package.json
Outdated
@@ -22,6 +24,6 @@ | |||
"app-module-path": "^2.x" | |||
}, | |||
"devDependencies": { | |||
"nodemon": "^1.17.1" | |||
"localtunnel": "^1.8.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing comma here also seems to be an issue for me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, why has nodemon gone? needs to stay in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch, I think that's a merge conflict on my end, will put it back in 👍
Another thing to note: due to our use of |
One more: when setting up commands, need to make sure "Escape channels, users, and links sent to your app" is checked, otherwise our parser breaks |
localtunnel allows for local server to be exposed to the internet and be connected to Slack's API. Create a separate Node process for localtunnel to run in parallel with Express. Add an .env.example file.
Update .env.example
962f651
to
d990ce7
Compare
Setup framework for being able to develop locally and connect to a Slack channel via their APIs.