-
Notifications
You must be signed in to change notification settings - Fork 12
docs: instruct virtual environment setup with the slack cli before configuring providers #42
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,19 @@ slack create my-bolt-python-assistant --template slack-samples/bolt-python-assis | |
| cd my-bolt-python-assistant | ||
| ``` | ||
|
|
||
| #### Setup your python virtual environment | ||
|
|
||
| ```sh | ||
| python3 -m venv .venv | ||
| source .venv/bin/activate # for Windows OS, .\.venv\Scripts\Activate instead should work | ||
| ``` | ||
|
|
||
| #### Install dependencies | ||
|
|
||
| ```sh | ||
| pip install -r requirements.txt | ||
| ``` | ||
|
|
||
|
Comment on lines
+39
to
+51
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📚 note: This matches the Quickstart guide and mirrors a section below for "Terminal" setup at this time. |
||
| #### Creating the Slack app | ||
|
|
||
| Use the following command to add your new Slack app to your development workspace. Choose a "local" app environment for upcoming development: | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤔 thought: I'm not so confident in the wording here and am open to suggestions! FWIW "local" might be a CLI-specific term at the moment but slackapi/slack-cli#307 might be relevant for upcoming changes!
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can definitely improve the wording, but at least "local" is aligned with the current CLI output. |
||
|
|
@@ -44,7 +57,7 @@ Use the following command to add your new Slack app to your development workspac | |
| slack install | ||
| ``` | ||
|
|
||
| After the Slack app has been created you're all set to configure the LLM provider! | ||
| After the Slack app has been created you're all set to [configure the LLM provider](#providers)! | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ⭐ |
||
|
|
||
| ### Using Terminal | ||
|
|
||
|
|
||
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.
suggestion: For readability, we could put the Windows suggestion on a different line.