Skip to content

Commit

Permalink
🎉 Fix slack upload docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nuragic authored and jmhobbs committed Oct 16, 2018
1 parent a6854b7 commit 2c8ad1f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 126 deletions.
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,22 +129,14 @@ The only Slack reaction gif's you'll ever need.

# Automated Upload

## Slack via Selenium
## Slack via `emojipacks`

**Note:** This [appears to have broken with a recent change to the Slack upload form](https://github.com/jmhobbs/cultofthepartyparrot.com/issues/259). If you can help fix it, that would be appreciated! See [#259](https://github.com/jmhobbs/cultofthepartyparrot.com/issues/259)
First, you need to clone this repo and run the build script with `npm run build` or `yarn build`.

You'll need Python 3, Google Chrome and chromedriver (`brew install chromedriver`)
installed to run this:
It will generate a `dist/` folder containing the website build files; we only need the `dist/parrotparty.yaml`. Copy the file path.

1. `python3 -m venv .venv`
2. `pip install -r requirements.txt`
3. `python upload_parrots.py --team YOUR_TEAM --username YOUR_EMAIL --password YOUR_PASS`

The following are optional args you can append to 3. above:
1. `--google` Use this if your Slack team uses Google signin
2. `--guests` Use this to invite all the party guests
Then, run `emojipacks` (`npm i -g emojipacks` if you don't have it yet): you'll be asked to enter your Slack credentials plus _the path of the yaml file_. That's all! Enjoy your parrots.

__Notice__: The uploader won't re-write already existing parrots if they match by name.

## Discord via Mr. Parrot

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "1.1.0",
"description": "PARTY OR DIE",
"scripts": {
"test": "gulp test"
"test": "gulp test",
"build": "gulp build"
},
"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

112 changes: 0 additions & 112 deletions upload_parrots.py

This file was deleted.

0 comments on commit 2c8ad1f

Please # to comment.