Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock

package-lock.json
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@ Run `npm install` to get all the dependencies of the project. (First time only)
Now run `npm start` to run the app locally :rocket:
It will open a browser which will direct you to the app, and every time you save changes in your text editor it will update live.

Inside 'src/images' you need to create the bot_icons and zone_icons directories.
The robot icons should be placed in the 'bot_icons' directory, and the island icons in the 'zone_icons' directory. The icon sizes are 64x64, the icon extension is one of (png|jpg|jpeg|webp|gif|svg).

The names of the robot icons and zones must match their names, following the rule:
spaces must be replaced with the '_' character. names

*Note: The repository does not contain the image resources, so locally you will not see robot-icons.*
*Hit us up on Discord if you want them! ~ https://discord.gg/e4gH9Ff*
21 changes: 21 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
services:
open-perpetuum-killboard:
image: node:lts
container_name: open-perpetuum-killboard
environment:
- TZ=Europe/Budapest
command:
- /bin/bash
- -c
- |
cd /app/
ls -la
npm install -g npm@latest
npm i
npm start
hostname: opkillboard
volumes:
- ./perpetuum-killboard:/app
ports:
- 3000:3000
restart: always
Loading