readme changes
This commit is contained in:
parent
f9fdd43f9f
commit
8a0dcde4d9
14
README.md
14
README.md
|
@ -4,15 +4,27 @@ Self-hosted pixel battle written in NodeJS
|
||||||
|
|
||||||
# Deploying
|
# Deploying
|
||||||
|
|
||||||
|
## Traditional
|
||||||
To deploy this pixelbattle, you need to:
|
To deploy this pixelbattle, you need to:
|
||||||
|
|
||||||
1. Clone this repo:
|
1. Clone this repo:
|
||||||
`git clone https://git.foxarmy.org/leca/pixelbattle`
|
`git clone https://git.foxarmy.org/leca/pixelbattle`
|
||||||
2. Install node deps:
|
2. Install node deps:
|
||||||
`npm update`
|
`npm install`
|
||||||
3. Run:
|
3. Run:
|
||||||
`npm run prod`
|
`npm run prod`
|
||||||
|
|
||||||
|
## Docker:
|
||||||
|
1. Clone this repo:
|
||||||
|
`git clone https://git.foxarmy.org/leca/pixelbattle`
|
||||||
|
2. Build docker image:
|
||||||
|
`docker-compose up --build`
|
||||||
|
3. After building, you can just run it:
|
||||||
|
`docker-compose up -d`
|
||||||
|
4. To update:
|
||||||
|
`git clone https://git.foxarmy.org/leca/pixelbattle`
|
||||||
|
`docker-compose up --build`
|
||||||
|
|
||||||
That's it!
|
That's it!
|
||||||
|
|
||||||
# Tips & tricks
|
# Tips & tricks
|
||||||
|
|
Loading…
Reference in New Issue