File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,18 @@ docker run -it --rm docker.pkg.github.com/lwjgl/lwjgl3-www/lwjgl-website sh
36
36
37
37
``` shell
38
38
git pull
39
- npm i
40
- npm run release
39
+ pnpm i
40
+ node -- run release
41
41
# to launch use:
42
- npm run test-production
42
+ node -- run test-production
43
43
```
44
44
45
45
## Build Docker image locally
46
46
47
47
``` shell
48
48
git pull
49
- npm i
50
- npm run release
49
+ pnpm i
50
+ node -- run release
51
51
docker build --rm -t lwjgl/website:latest .
52
52
# To test the production docker image:
53
53
docker-compose up
Original file line number Diff line number Diff line change @@ -32,22 +32,23 @@ Build status icons are loaded directly from [travis-ci.org](https://travis-ci.or
32
32
33
33
## Prerequisites
34
34
35
- - [ Node.js v19 +] ( https://nodejs.org/ )
36
- - [ NPM v9+ ] ( https://npmjs.com / )
35
+ - [ Node.js v22 +] ( https://nodejs.org/ )
36
+ - [ PNPM ] ( https://pnpm.io / )
37
37
38
38
## Development
39
39
40
40
Install all required npm packages and build styles:
41
41
42
42
``` shell
43
- npm i
44
- npm run build:styles
43
+ # corepack enable
44
+ pnpm i
45
+ node --run build:styles
45
46
```
46
47
47
48
Start the server in dev mode:
48
49
49
50
``` shell
50
- npm -s start
51
+ node --run start
51
52
```
52
53
53
54
### CLI flags
@@ -82,14 +83,14 @@ To deploy LWJGL in production please read the separate guide: [DEPLOYMENT.md](./
82
83
83
84
``` shell
84
85
git pull
85
- npm i
86
- npm run release
86
+ pnpm i
87
+ node -- run release
87
88
```
88
89
89
90
You can run the production build locally:
90
91
91
92
``` shell
92
- npm run dev:test-production
93
+ node -- run dev:test-production
93
94
```
94
95
95
96
### Debugging production output
You can’t perform that action at this time.
0 commit comments