leca d227202cb9 | ||
---|---|---|
html | ||
views | ||
.gitignore | ||
LICENSE | ||
README.md | ||
index.js | ||
package-lock.json | ||
package.json | ||
settings.json |
README.md
pixelbattle
Self-hosted pixel battle written in NodeJS
Deploying
To deploy this pixelbattle, you need to:
- Clone this repo:
git clone https://git.foxarmy.org/leca/pixelbattle
- Install node deps:
npm update
- Run:
npm run prod
That's it!
Tips & tricks
-
Server settings are located in
./settings.json
, you need to change serverAddress in order to deploy -
When catches SIGUSR1, server will save a board with name read from settings file. SIGINT (CTRL + C) does the same but exit server when board is saved KILL WITH SIGTERM WILL NOT SAVE THE BOARD!