-
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?
Conversation
zimeg
left a comment
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.
📫 Leaving a note of adjacent lines that can cause confusion for me-
|
|
||
| #### 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: |
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.
🤔 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!
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.
We can definitely improve the wording, but at least "local" is aligned with the current CLI output.
zimeg
left a comment
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.
🐌 Another comment that wasn't sent earlier!
| #### 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 | ||
| ``` | ||
|
|
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.
📚 note: This matches the Quickstart guide and mirrors a section below for "Terminal" setup at this time.
srtaalej
left a comment
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.
lgtm! ⭐
| ``` | ||
|
|
||
| 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)! |
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.
⭐
mwbrooks
left a comment
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.
✅ Thanks for the improvements around the Python virtual environment setup!
| ```sh | ||
| python3 -m venv .venv | ||
| source .venv/bin/activate # for Windows OS, .\.venv\Scripts\Activate instead should work | ||
| ``` |
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.
| ```sh | |
| python3 -m venv .venv | |
| source .venv/bin/activate # for Windows OS, .\.venv\Scripts\Activate instead should work | |
| ``` | |
| ```sh | |
| python3 -m venv .venv | |
| source .venv/bin/activate | |
| # Windows OS can run: | |
| # .\.venv\Scripts\Activate |
|
|
||
| #### 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: |
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.
We can definitely improve the wording, but at least "local" is aligned with the current CLI output.
Type of change
Summary
This PR updates the
READMEto include virtual environment setup steps with the Slack CLI as well as linking ahead to the section for "providers" once this is complete.Requirements