Skip to content

Commit 77e0204

Browse files
committed
examples readme minor improvements
1 parent 59f53a3 commit 77e0204

File tree

1 file changed

+33
-15
lines changed

1 file changed

+33
-15
lines changed

examples/simple-player/README.md

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22

33
## build
44

5-
use the command `npm run build` in the root of this repository, for more instructions about the player itself check out the [player main README](../../README.md)
5+
first, use your favorite command line tool and go into the root of this project:
66

7-
now build the example itself
7+
```shell
8+
cd /web-audio-api-player
9+
```
10+
11+
then use the follwing command in the root of this repository to build the "web-audio-api-player" itself:
12+
13+
`npm run build`
14+
15+
Note: for more instructions about the web-audio-api-player itself check out the [web-audio-api-player README](../../README.md)
816

9-
use your favorite command line and go into the example folder
17+
then, build the example (server & client) itself:
18+
19+
go into the example folder:
1020

1121
```shell
1222
cd /web-audio-api-player/examples/simple-player
@@ -20,39 +30,47 @@ update npm to latest version
2030

2131
install the server dependencies
2232

23-
### install client dependencies
33+
### client
34+
35+
#### go into the client folder
2436

2537
```shell
2638
cd client
39+
```
40+
41+
#### install the client dependencies
42+
43+
```shell
2744
npm i
2845
```
2946

3047
### build the client
3148

32-
build the client
49+
```shell
50+
npm run build
51+
```
3352

34-
`npm run build`
53+
### server
3554

36-
### install server dependencies
55+
#### go into the server folder
3756

3857
```shell
3958
cd server
40-
npm i
4159
```
4260

43-
### build the server
44-
45-
go into the server directory:
61+
#### install the server dependencies
4662

4763
```shell
48-
cd /web-audio-api-player/examples/simple-player/server
64+
npm i
4965
```
5066

51-
build the server
67+
#### build the server
5268

53-
`npm run build`
69+
```shell
70+
npm run build
71+
```
5472

55-
## start the server
73+
#### start the server
5674

5775
start the server
5876

0 commit comments

Comments
 (0)