You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/simple-player/README.md
+33-15Lines changed: 33 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,21 @@
2
2
3
3
## build
4
4
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:
6
6
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)
8
16
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:
10
20
11
21
```shell
12
22
cd /web-audio-api-player/examples/simple-player
@@ -20,39 +30,47 @@ update npm to latest version
20
30
21
31
install the server dependencies
22
32
23
-
### install client dependencies
33
+
### client
34
+
35
+
#### go into the client folder
24
36
25
37
```shell
26
38
cd client
39
+
```
40
+
41
+
#### install the client dependencies
42
+
43
+
```shell
27
44
npm i
28
45
```
29
46
30
47
### build the client
31
48
32
-
build the client
49
+
```shell
50
+
npm run build
51
+
```
33
52
34
-
`npm run build`
53
+
### server
35
54
36
-
###install server dependencies
55
+
#### go into the server folder
37
56
38
57
```shell
39
58
cd server
40
-
npm i
41
59
```
42
60
43
-
### build the server
44
-
45
-
go into the server directory:
61
+
#### install the server dependencies
46
62
47
63
```shell
48
-
cd /web-audio-api-player/examples/simple-player/server
0 commit comments