File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 55
66<img src =" https://github.com/jacklowrie/piazza-bot/blob/main/demo.gif " width =100% height =100% >
77
8- *** Note** : I am not affiliated with or endorsed by Piazza or Slack in any way. Neither
8+ ** \ * Note** : I am not affiliated with or endorsed by Piazza or Slack in any way. Neither
99is this bot.
1010
1111## Installation (adding to your workspace, and updates)
@@ -33,11 +33,15 @@ the app up on your host.
3333into "Features"->"Oauth & Permissions", and note the Bot User OAuth Token.
3434
3535### Host the app (3-5 min)
36+
36371 . _ Clone this repo._ This is the easiest way to handle updates, since you
3738can just pull from ` main ` and restart the app whenever there's an update.
3839Alternatively, if you need to modify the app for your workspace, fork instead.
39402 . _ Install dependencies._ Set up a virtual environment, and install the
40- required modules from ` requirements.txt ` .
41+ required modules from ` requirements.txt ` . There's an install script ` install.sh `
42+ which contains the commands you'll need to run. Either run each command
43+ individually, or try running the script ** make sure python3 is installed on
44+ your systembefore running** .
41453 . _ Add tokens._ create a ` .env ` file from ` .env-sample ` and add the
4246corresponding tokens you noted when registering the app.
43474 . _ Add Course ID._ Go to your course's dashboard (if you're viewing a question,
Original file line number Diff line number Diff line change 1+ python3 -m venv .venv
2+ source .venv/bin/activate
3+ pip install -r requirements.txt
4+ deactivate
You can’t perform that action at this time.
0 commit comments