Skip to content

Commit df34645

Browse files
committed
Updated README.md
New instructions on running Dynamic
1 parent 4338a57 commit df34645

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

README.md

+15-12
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,37 @@ See [Examples](https://github.com/NebulaServices/Dynamic/tree/main/examples);
2525

2626
## Getting started (How to run)
2727

28-
### Method 1
28+
### Method 1
2929

30-
1. Clone and Change directory into Dynamic
30+
1. Clone and change directory into Dynamic
3131
```bash
32-
git clone https://GitHub.com/NebulaServices/dynamic.git && cd Dynamic
32+
git clone https://github,com/NebulaServices/Dynamic.git && cd Dynamic
3333
```
3434

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
4136
```bash
42-
./bin/run.sh
37+
./bin/start.sh
4338
```
4439

40+
4541
### Method 2
42+
43+
1. Clone and change directory into Dynamic
4644
```bash
47-
git clone https://github.com/NebulaServices/dynamic.git && cd Dynamic
45+
git clone https://github.com/NebulaServices/Dynamic.git && cd Dynamic
4846
```
4947

5048
2. Install dependencies
5149
```bash
5250
npm i
5351
```
5452

55-
3. Run the server
53+
3. Build Dynamic Bundles
54+
```bash
55+
npm run build
56+
```
57+
58+
4. Run the server
5659
```bash
5760
npm start
5861
```

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"start": "node --max-http-header-size=50000 index",
88
"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"
1011
},
1112
"keywords": [],
1213
"author": "",

0 commit comments

Comments
 (0)