Dev Requirements

- edit CONTRIBUTING.md
This commit is contained in:
Ömer Faruk Özdemir 2022-01-27 20:01:54 +03:00
parent 1d7fb7745a
commit 5c131a2958
2 changed files with 25 additions and 3 deletions

View File

@ -20,17 +20,37 @@ bash scripts/install_gradio.sh
* Navigate to the repo folder and install test requirements
```bash
```
bash scripts/install_test_requirements.sh
```
* Install chrome driver and chrome for selenium (necessary for tests)
```
https://sites.google.com/chromium.org/driver/
```
```
https://www.google.com/chrome/
```
* Build the front end
```bash
```
bash scripts/build_frontend.sh
```
* You can also run `npm run start` to start a local frontend development server (on port 3000 by default) that responds to any changes in the frontend.
* Run the tests
```
bash scripts/run_tests.sh
```
* You can also start a local frontend development server (on port 3000 by default) that responds to any changes in the frontend.
```
bash scripts/run_frontend.sh
```
### Structure of the Repository

2
scripts/run_frontend.sh Normal file
View File

@ -0,0 +1,2 @@
cd frontend
npm start