mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 10:17:23 -05:00
fix links in contribution & troubleshooting doc (#632)
This commit is contained in:
@@ -9,7 +9,7 @@ Thank you for wanting to contribute to the PyScript project!
|
||||
* [Reporting bugs](#reporting-bugs)
|
||||
* [Reporting security issues](#reporting-security-issues)
|
||||
* [Asking questions](#asking-questions)
|
||||
* [Setting up your environment](#setting-up-your-environment)
|
||||
* [Setting up your local environment](#setting-up-your-local-environment)
|
||||
* [Places to start](#places-to-start)
|
||||
* [Submitting a change](#submitting-a-change)
|
||||
* [License terms for contributions](#license-terms-for-contributions)
|
||||
@@ -41,7 +41,7 @@ If you aren't confident that it is appropriate to submit a security issue using
|
||||
|
||||
If you have questions about the project, using PyScript, or anything else, please ask in the [PyScript forum](https://community.anaconda.cloud/c/tech-topics/pyscript).
|
||||
|
||||
# Setting up your local environment
|
||||
## Setting up your local environment
|
||||
|
||||
* Clone the repo using
|
||||
```
|
||||
@@ -56,11 +56,11 @@ If you have questions about the project, using PyScript, or anything else, pleas
|
||||
```
|
||||
make setup
|
||||
```
|
||||
**NOTE**: If `make setup` gives a node/npm version required error then go to [troubleshooting](https://github.com/pyscript/governance/blob/main/TROUBLESHOOTING.md)
|
||||
**NOTE**: If `make setup` gives a node/npm version required error then go to [troubleshooting](https://github.com/pyscript/pyscript/blob/main/TROUBLESHOOTING.md)
|
||||
|
||||
* You can also run the examples localy by running the command below in your terminal
|
||||
```
|
||||
make example
|
||||
make examples
|
||||
```
|
||||
* Run ***npm run dev*** to build and run the dev server. This will also watch for changes and rebuild when a file is saved.
|
||||
```
|
||||
@@ -71,7 +71,7 @@ If you have questions about the project, using PyScript, or anything else, pleas
|
||||
* When you make changes locally, double check that your contribution follows the PyScript formatting rules by running `npm run lint`. Note that in this case you're looking for the errors, <u>**NOT**</u> the warnings (Unless the warning is created by a local change). If an error is found by lint you should fix it <u>**before**</u> creating a pull request
|
||||
|
||||
|
||||
Now that node and npm have both been updated `make setup` should work, and you can continue [setting up your environment](#setting-up-your-environment) without problems (hopefully).
|
||||
Now that node and npm have both been updated `make setup` should work, and you can continue [setting up your local environment](#setting-up-your-local-environment) without problems (hopefully).
|
||||
|
||||
## Places to start
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ This page is meant for troubleshooting common problems with PyScript.
|
||||
|
||||
## Make setup
|
||||
|
||||
A lot of problems related to `make setup` are related to node and npm being outdated. Once npm and node are updated, `make setup` should work. You can follow the steps on the [npm documentation](https://docs.npmjs.com/try-the-latest-stable-version-of-npm)to update npm (the update command for Linux should work for Mac as well). Once npm has been updated you can continue to the instructions to update node below.
|
||||
A lot of problems related to `make setup` are related to node and npm being outdated. Once npm and node are updated, `make setup` should work. You can follow the steps on the [npm documentation](https://docs.npmjs.com/try-the-latest-stable-version-of-npm) to update npm (the update command for Linux should work for Mac as well). Once npm has been updated you can continue to the instructions to update node below.
|
||||
|
||||
To update Node run the following commands in order (Most likely you'll be prompted for your user password, this is normal):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user