File tree 2 files changed +17
-13
lines changed
2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -25,34 +25,37 @@ See [Examples](https://github.com/NebulaServices/Dynamic/tree/main/examples);
25
25
26
26
## Getting started (How to run)
27
27
28
- ### Method 1
28
+ ### Method 1
29
29
30
- 1 . Clone and Change directory into Dynamic
30
+ 1 . Clone and change directory into Dynamic
31
31
``` bash
32
- git clone https://GitHub. com/NebulaServices/dynamic .git && cd Dynamic
32
+ git clone https://github, com/NebulaServices/Dynamic .git && cd Dynamic
33
33
```
34
34
35
- 2 . Give bash file permissions
36
- ``` bash
37
- chmod +x ./bin/run.sh
38
- ```
39
-
40
- 3 . Run bash file
35
+ 2 . Run bash script and follow the instructions in the script
41
36
``` bash
42
- ./bin/run .sh
37
+ ./bin/start .sh
43
38
```
44
39
40
+
45
41
### Method 2
42
+
43
+ 1 . Clone and change directory into Dynamic
46
44
``` bash
47
- git clone https://github.com/NebulaServices/dynamic .git && cd Dynamic
45
+ git clone https://github.com/NebulaServices/Dynamic .git && cd Dynamic
48
46
```
49
47
50
48
2 . Install dependencies
51
49
``` bash
52
50
npm i
53
51
```
54
52
55
- 3 . Run the server
53
+ 3 . Build Dynamic Bundles
54
+ ``` bash
55
+ npm run build
56
+ ```
57
+
58
+ 4 . Run the server
56
59
``` bash
57
60
npm start
58
61
```
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"start" : " node --max-http-header-size=50000 index" ,
8
8
"build:dev" : " node esbuild.dev.js" ,
9
- "build:prod" : " node esbuild.prod.js"
9
+ "build:prod" : " node esbuild.prod.js" ,
10
+ "build" : " node esbuild.prod.js"
10
11
},
11
12
"keywords" : [],
12
13
"author" : " " ,
You can’t perform that action at this time.
0 commit comments