recursionpharma / anonymous-slack

A Heroku service that lets you send anonymous messages to colleagues on Slack.
20 stars 21 forks source link

Any assistance for a non-developer? #4

Open misstook opened 6 years ago

misstook commented 6 years ago

I use Slack as a social/RPG platform for my group of long-distance friends, and I have been looking around for a simple app that will allow us to chat anonymously/obscure our usernames, and this would be perfect. I tried to follow the instructions, but as a non-developer I'm totally lost. Is installation straightforward enough that someone without experience could do this/is there anyone who could walk me through it? Thanks so much for any help anyone can give me. :)

purohit commented 6 years ago

I suppose the first question for a non-developer would be: Do you have a Mac or Linux machine?

There are a few dependencies here. First, you need an account on Heroku, so create one there. You also need to download and install the Heroku command line tool: https://devcenter.heroku.com/articles/heroku-cli

You also need to install git: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

I'm trying to see if we can get you to a point where everything is on your machine and you can just follow the instructions in the README.

misstook commented 6 years ago

A Mac. :)

On Aug 31, 2017 3:48 PM, "Ashwin Purohit" notifications@github.com wrote:

I suppose the first question for a non-developer would be: Do you have a Mac or Linux machine?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/recursionpharma/anonymous-slack/issues/4#issuecomment-326402100, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad_ckauAATtrvhRxuvCwk7I0UVO9PH3Jks5sdw4egaJpZM4PI0nQ .

purohit commented 6 years ago

I updated my answer with a few more instructions -- see if you can do that first and we'll go from there.

2017-08-31 21:53 GMT+02:00 misstook notifications@github.com:

A Mac. :)

On Aug 31, 2017 3:48 PM, "Ashwin Purohit" notifications@github.com wrote:

I suppose the first question for a non-developer would be: Do you have a Mac or Linux machine?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/recursionpharma/anonymous- slack/issues/4#issuecomment-326402100, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad_ ckauAATtrvhRxuvCwk7I0UVO9PH3Jks5sdw4egaJpZM4PI0nQ .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/recursionpharma/anonymous-slack/issues/4#issuecomment-326403046, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUhiheTm1kLGBJkWlvBxRDzSxKcWbfDks5sdw8sgaJpZM4PI0nQ .

misstook commented 6 years ago

Thank you so much for taking the time to assist me with this. I have a Heroku account, and I downloaded both Heroku command line and git.

purohit commented 6 years ago

Great! Want to try out the README now? I think you can probably skip the godeps -r save step, but the rest of it might just work as expected.

2017-08-31 23:40 GMT+02:00 misstook notifications@github.com:

Thank you so much for taking the time to assist me with this. I have a Heroku account, and I downloaded both Heroku command line and git.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/recursionpharma/anonymous-slack/issues/4#issuecomment-326428013, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUhinduOdWY1E33CT_81W_K9Ut3lnMeks5sdyhggaJpZM4PI0nQ .

misstook commented 6 years ago

I think the issue I'm running into is running the Heroku command line tool and git on my computer. I downloaded both of them, but I can't seem to pull them up/locate them on my computer, even by searching, and I'm not sure why this is. Also, when I create the app on the Heroku site, do I add a pipeline?

purohit commented 6 years ago

You need to open the terminal app first, and then once you're there and you can see a commandline waiting for something to be entered, you can follow the instructions. I'm not sure what an app pipeline on Heroku ist.

2017-09-01 13:27 GMT+02:00 misstook notifications@github.com:

I think the issue I'm running into is running the Heroku command line tool and git on my computer. I downloaded both of them, but I can't seem to pull them up/locate them on my computer, even by searching, and I'm not sure why this is. Also, when I create the app on the Heroku site, do I add a pipeline?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/recursionpharma/anonymous-slack/issues/4#issuecomment-326557183, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUhipMmrLkmqbXa46jtRlY6cAKmnSsdks5sd-oOgaJpZM4PI0nQ .

misstook commented 6 years ago

Okay, I feel like I'm a little closer now. I added the config variables in Heroku, I added the Slack slash command and the incoming webhook. I want the deployment method to be via GitHub, right?

purohit commented 6 years ago

Not sure what you mean by deployment method. When you do a git push, you want it to push to Heroku (the code gets built on Heroku, which is what Slack is hitting when you call /anon @something whatever). That's why it should be git push heroku master.

2017-09-01 14:03 GMT+02:00 misstook notifications@github.com:

Okay, I feel like I'm a little closer now. I added the config variables in Heroku, I added the Slack slash command and the incoming webhook. I want the deployment method to be via GitHub, right?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/recursionpharma/anonymous-slack/issues/4#issuecomment-326563144, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUhim9D5Q8sh01lwgCzg2wPhSsd3a-wks5sd_KBgaJpZM4PI0nQ .

misstook commented 6 years ago

"Clone this repository, enter it and generate the Godeps:

git clone git@github.com:recursionpharma/anonymous-slack.git cd anonymous-slack godep save -r"

So when I try to do this part (minus the godep part, as you said), it gives me this message:

Lindsays-New-MBP:~ tookish$ git clone git@github.com:recursionpharma/anonymous-slack.git Cloning into 'anonymous-slack'... The authenticity of host 'github.com (192.30.253.113)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)? y Please type 'yes' or 'no': yes Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists."

purohit commented 6 years ago

Ah, okay. You'll need to generate an SSH key first and add it to your Github account. (i.e. these two steps): https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#platform-mac, https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/#platform-mac).

Try this and then start again with the git clone [...] instructions.

(Technically, you can just clone over HTTPS without doing any of these steps, but you might need an SSH key for Heroku anyway, so it might be worth doing).