Readme changes

This commit is contained in:
leca 2023-08-02 07:19:17 +03:00
parent f49e9415b7
commit 8d0d75125c
1 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Self-hosted pixel battle written in NodeJS
# Deploying # Deploying
## Traditional ## Traditional:
To deploy this pixelbattle, you need to: To deploy this pixelbattle, you need to:
1. Clone this repo: 1. Clone this repo:
@ -13,6 +13,9 @@ To deploy this pixelbattle, you need to:
`npm install` `npm install`
3. Run: 3. Run:
`npm run prod` `npm run prod`
4. To update:
`git pull`
`npm install`
## Docker: ## Docker:
1. Clone this repo: 1. Clone this repo:
@ -22,7 +25,7 @@ To deploy this pixelbattle, you need to:
3. After building, you can just run it: 3. After building, you can just run it:
`docker-compose up -d` `docker-compose up -d`
4. To update: 4. To update:
`git clone https://git.foxarmy.org/leca/pixelbattle` `git pull`
`docker-compose up --build` `docker-compose up --build`
That's it! That's it!