Self-hosted pixel battle written in NodeJS
Go to file
leca fea05a3f01 readme changes 2023-08-01 11:33:08 +03:00
html replaced html file with pug template 2023-08-01 09:25:16 +03:00
views replaced html file with pug template 2023-08-01 09:25:16 +03:00
.gitignore changed .gitignore 2023-08-01 11:32:17 +03:00
LICENSE Initial commit 2023-07-30 11:43:19 +03:00
README.md readme changes 2023-08-01 11:33:08 +03:00
index.js Board can now be saved but not loaded (for now) 2023-08-01 11:32:54 +03:00
package-lock.json Board can now be saved but not loaded (for now) 2023-08-01 11:32:54 +03:00
package.json Board can now be saved but not loaded (for now) 2023-08-01 11:32:54 +03:00
settings.json Board can now be saved but not loaded (for now) 2023-08-01 11:32:54 +03:00

README.md

pixelbattle

Self-hosted pixel battle written in NodeJS

Deploying

To deploy this pixelbattle, you need to:

  1. Clone this repo: git clone https://git.foxarmy.org/leca/pixelbattle
  2. Install node deps: npm update
  3. Run: npm run prod

That's it!

Tips & tricks

  1. Server settings are located in ./settings.json, you need to change serverAddress in order to deploy

  2. 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