Skip to content

Commit

Permalink
add note for prod build, hot-reloading doesn't handle many files too …
Browse files Browse the repository at this point in the history
…well
  • Loading branch information
lesleyrs committed Jul 31, 2024
1 parent b6c00e1 commit fd67bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ http://localhost/client?world=0&detail=high&method=0 (Java)
A web worker server will start when loading world 999. This works as a no install, offline, singleplayer version of the server. You will need to self host in order to load saves.

How to use:
1. Run `npm run build` and then `npm run bundle` in the server, this copies all required files to `../Client2/public`.
1. Run `npm run build` and then `npm run bundle` in the server, this copies all required files to `../Client2/public`. Start it with `npm run prod`.
2. A save dialog will open on logout, you should save to `/public/data/players`.
3. Optional: To host on github uncomment the lines starting with `!/public` in the [.gitignore](.gitignore).

Expand Down

0 comments on commit fd67bf5

Please sign in to comment.