I have indeed followed the instructions. I tried to install the bot on Heroku. I successfully deployed the code from github, but I don't know where to fetch the "slack_token". Is it the same as the bot token (TIMEBOT_APP_TOKEN=slack_timebot_app_token)?
Once I have set all the variables correctly in the .env file and created the app + bot on slack, am I supposed to do something else to connect everything?
Regarding the interactive components, I can see that I am supposed to write "your_domain_name.com/api/v1/slack/..." in the URL field. Does it mean that I have to do something on Heroku ? or should I just write "https://(myheroku).com/api/v1/slack/submission"?
As you understood, I think a step by step tutorial specifically made for Heroku would be super helpful.
There have been changes to Slack API, this is why you have troubles.
Here's how you can make it work:
Step 1. Add this file in your project: config/secrets.yml
production:
secret_key_base: <%= ENV['SECRET_KEY'] %>
Step 2. Considering your question: "I don't know where to fetch the "slack_token". Is it the same as the bot token (TIMEBOT_APP_TOKEN=slack_timebot_app_token)?"
Yes, you are right.
In config/dev.env.js fill BASE_API with your Heroku app URL.
Run 'yarn' && 'yarn dev'.
Step 4. Create new admin via heroku console (Admin.create(email: 'your_email', password: 'your_password')).
Please let us know of the result :)
P.S. We are planning to create an updated version considering all the changes with Slack API, however, we don't have a timeline for this at the moment.
Thank you so much for your answer. Unfortunately I did not manage to make it work... The command still doesn't work on slack, I am making a mistake at some point.
Would you consider making a full step-by-step tutorial including those new instructions ?
Thank you so much for your answer.
I have indeed followed the instructions. I tried to install the bot on Heroku. I successfully deployed the code from github, but I don't know where to fetch the "slack_token". Is it the same as the bot token (TIMEBOT_APP_TOKEN=
slack_timebot_app_token
)?Once I have set all the variables correctly in the .env file and created the app + bot on slack, am I supposed to do something else to connect everything?
Regarding the interactive components, I can see that I am supposed to write "your_domain_name.com/api/v1/slack/..." in the URL field. Does it mean that I have to do something on Heroku ? or should I just write "https://(myheroku).com/api/v1/slack/submission"?
As you understood, I think a step by step tutorial specifically made for Heroku would be super helpful.
Thank you again !
Hey Richy,
Thanks for the details!
Our dev team will look into this and we'll get back to you.
Hey!
There have been changes to Slack API, this is why you have troubles.
Here's how you can make it work:
Step 1. Add this file in your project: config/secrets.yml
production:
secret_key_base: <%= ENV['SECRET_KEY'] %>
Step 2. Considering your question: "I don't know where to fetch the "slack_token". Is it the same as the bot token (TIMEBOT_APP_TOKEN=slack_timebot_app_token)?"
Yes, you are right.
Because of changes to Slack API, now you need to get it like this: github.com/slack-ruby/slack-ruby-c...
Step 3. Clone the project github.com/codica2/vue-timebot
In config/dev.env.js fill BASE_API with your Heroku app URL.
Run 'yarn' && 'yarn dev'.
Step 4. Create new admin via heroku console (Admin.create(email: 'your_email', password: 'your_password')).
Please let us know of the result :)
P.S. We are planning to create an updated version considering all the changes with Slack API, however, we don't have a timeline for this at the moment.
Thank you so much for your answer. Unfortunately I did not manage to make it work... The command still doesn't work on slack, I am making a mistake at some point.
Would you consider making a full step-by-step tutorial including those new instructions ?
Sorry to hear that!
Okay, we'll make a tutorial considering all the changes, however, this will take time - we don't have free resources at the moment.
We would say, this can take at least a couple of weeks.
Will keep you updated!
Again, thank you so much, can't wait to see it !
Hi, just a reminder that I'm still very interested to get more instructions to install the bot !