-
Notifications
You must be signed in to change notification settings - Fork 25
Improve dev onboarding and docs #160
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
CONTRIBUTING.md
Outdated
@@ -14,14 +14,29 @@ git clone https://github.com/pyscript/pyscript.git | |||
pip install --upgrade pip | |||
``` | |||
|
|||
Make a virtualenv and activate it: | |||
Create a local enviroment with your enviroment manager of choice. |
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.
enviroment
--> environment
CONTRIBUTING.md
Outdated
In case you choose to use conda, use the following commands: | ||
|
||
```shell | ||
conda create -n pyscript-cli python |
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.
can probably pin to a specific python version here
CONTRIBUTING.md
Outdated
|
||
### Installation | ||
|
||
Now that you have your environment set up and activated, install your local enviroment dependencies |
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.
enviroment
--> environment
(the 2nd one)
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.
Seems like the typo is present in other parts of the README too, which are not touched in this PR
CONTRIBUTING.md
Outdated
@@ -39,6 +54,37 @@ After setting up your developer enviroment, you can run the tests with the follo | |||
pytest . | |||
``` | |||
|
|||
# Running CLI Commands | |||
|
|||
Once the installation process is done, the `pyscript` CLI is avaible to be used once the environment has been |
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.
avaible
--> available
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 probably add the following note:
if you wanna build locally using python -m build
, also pass the env var CHECK_VERSION
as False
aka CHECK_VERSION=False python -m build
this will skip the check tag version stuff in setup.py
Approved but there are typos
Cool, TY! Will address the comments and re-commit. |
We made changes switching the dev environment to just use setup.py to install the whole stack and also established a release workflow/action. This PR adds information on how both work and how to properly set up a dev environment and how to release a new version