Add example npm start message
This commit is contained in:
@@ -100,6 +100,29 @@ Run the game:
|
|||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You should see a message like this:
|
||||||
|
```bash
|
||||||
|
[server] > lean4-game@0.1.0 start_server
|
||||||
|
[server] > (cd server && lake build) && (cd relay && cross-env NODE_ENV=development nodemon -e mjs --exec "node ./index.mjs")
|
||||||
|
[server]
|
||||||
|
[client]
|
||||||
|
[client] > lean4-game@0.1.0 start_client
|
||||||
|
[client] > cross-env NODE_ENV=development vite --host
|
||||||
|
[client]
|
||||||
|
[server] [nodemon] 3.0.#
|
||||||
|
[server] [nodemon] to restart at any time, enter `rs`
|
||||||
|
[server] [nodemon] watching path(s): *.*
|
||||||
|
[server] [nodemon] watching extensions: mjs
|
||||||
|
[server] [nodemon] starting `node ./index.mjs`
|
||||||
|
[client]
|
||||||
|
[client] VITE v4.5.1 ready in \#\#\# ms
|
||||||
|
[client]
|
||||||
|
[client] ➜ Local: http://localhost:3000/
|
||||||
|
[client] ➜ Network: http://###.###.###.##:3000/
|
||||||
|
[client] [vite-plugin-static-copy] Collected 7 items.
|
||||||
|
[server] (node:#####) [DEP0040] [server] Listening on 8080
|
||||||
|
```
|
||||||
|
|
||||||
This takes a little time. Eventually, the game is available on http://localhost:3000/#/g/local/GameSkeleton. Replace `GameSkeleton` with the folder name of your local game.
|
This takes a little time. Eventually, the game is available on http://localhost:3000/#/g/local/GameSkeleton. Replace `GameSkeleton` with the folder name of your local game.
|
||||||
|
|
||||||
## Modifying the GameServer
|
## Modifying the GameServer
|
||||||
|
|||||||
Reference in New Issue
Block a user