Skip to content

Commit 5c131a2

Browse files
committed
Dev Requirements
- edit CONTRIBUTING.md
1 parent 1d7fb77 commit 5c131a2

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

CONTRIBUTING.md

+23-3
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,37 @@ bash scripts/install_gradio.sh
2020

2121
* Navigate to the repo folder and install test requirements
2222

23-
```bash
23+
```
2424
bash scripts/install_test_requirements.sh
2525
```
2626

27+
* Install chrome driver and chrome for selenium (necessary for tests)
28+
29+
```
30+
https://sites.google.com/chromium.org/driver/
31+
```
32+
33+
```
34+
https://www.google.com/chrome/
35+
```
36+
2737
* Build the front end
2838

29-
```bash
39+
```
3040
bash scripts/build_frontend.sh
3141
```
3242

33-
* 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.
43+
* Run the tests
44+
45+
```
46+
bash scripts/run_tests.sh
47+
```
48+
49+
* You can also start a local frontend development server (on port 3000 by default) that responds to any changes in the frontend.
50+
51+
```
52+
bash scripts/run_frontend.sh
53+
```
3454

3555
### Structure of the Repository
3656

scripts/run_frontend.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cd frontend
2+
npm start

0 commit comments

Comments
 (0)