Update text (#1050)

* docs(CONTRIBUTING): Update with new details

* docs(ui): Update with correct details

* fix(Error): Fix minor typo

* docs: Link to `ui` readme from contributing guide

* Update CONTRIBUTING.md

Co-authored-by: pngwn <hello@pngwn.io>
This commit is contained in:
Ron Au 2022-04-21 19:07:43 +10:00 committed by GitHub
parent 9a62b25bbb
commit abad6383df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ Prequisites:
More than 30 awesome developers have contributed to the `gradio` library, and we'd be thrilled if you would like be the next `gradio` contributor! You can start by forking or cloning the repo (https://github.com/gradio-app/gradio.git) and creating your own branch to work from.
### Install Gradio locally from the `master` branch
### Install Gradio locally from the `main` branch
* Clone this repo
* Navigate to the repo folder and run
@ -51,7 +51,7 @@ It's helpful to know the overall structure of the repository so that you can foc
* `/gradio`: contains the Python source code for the library
* `/gradio/interface.py`: contains the Python source code for the core `Interface` class (**start HERE!**)
* `/frontend`: contains the HTML/JS/CSS source code for the library
* `/ui`: contains the HTML/JS/CSS source code for the library ([start here for frontend changes](/ui/README.md))
* `/test`: contains Python unit tests for the library
* `/demo`: contains demos that are used in the documentation as well as for integration tests
* `/website`: contains the code for the Gradio website (www.gradio.app). See the README in the `/website` folder for more details
@ -62,10 +62,10 @@ All PRs must pass the continuous integration tests before merging. To test local
## Submitting PRs
All PRs should be against `master`. Direct commits to master are blocked, and PRs require an approving review to merge into master. By convention, the Gradio maintainers will review PRs when:
All PRs should be against `main`. Direct commits to main are blocked, and PRs require an approving review to merge into main. By convention, the Gradio maintainers will review PRs when:
* An initial review has been requested, and
* A maintainer (@abidlabs, @aliabid94, @aliabd, @AK391, or @dawoodkhan82) is tagged in the PR comments and asked to complete a review
* A maintainer (@abidlabs, @aliabid94, @aliabd, @AK391, @dawoodkhan82, or @pngwn) is tagged in the PR comments and asked to complete a review
We ask that you make sure initial CI checks are passing before requesting a review. One of the Gradio maintainers will merge the PR when all the checks are passing.

View File

@ -31,7 +31,7 @@ This will install the dependencies for all packages within the `ui` folder and l
## local development
To develop locally, open two browser tabs from the root of the repository.
To develop locally, open two terminal tabs from the root of the repository.
Run the python test server, from the root directory:
@ -40,7 +40,7 @@ cd demo/kitchen_sink
python run.py
```
This will start a development server on port `7863` that the web app is expecting.
This will start a development server on port `7860` that the web app is expecting.
Run the web app:

View File

@ -62,7 +62,7 @@ window.launchGradio = (config: Config, element_query: string) => {
if (!target) {
throw new Error(
"The target element could not be found. Please ensure atht element exists."
"The target element could not be found. Please ensure that element exists."
);
}