update deployment/README

This commit is contained in:
HF 2022-06-19 23:42:53 +02:00
parent 14cbd75406
commit e6eea72894
2 changed files with 3 additions and 3 deletions

View File

@ -7,8 +7,8 @@ Examples of configurations, will be copied into ./dist on build
## updtmsg
Basic nodejs script to print a message and a youtube video, used as a message while updating
## post-receive
Pixelplanet has its own git repository for deployment on the live system, if an commit get pushed to it, it will automatically build the canvas and deploy it and post update messages to discord. This hook is managing that on the server.
## githook.sh
Pixelplanet has its own git repository for deployment on the live system, if an commit get pushed to it, it will automatically build the canvas and deploy it. This hook is managing that on the server.
## Some notes:
Cloudflare Caching Setting `Broser Cache Expiration` should be set to `Respect Existing Headers` or it would default to 4h, which is unreasonable for chunks.

View File

@ -2,7 +2,7 @@
# This hook builds pixelplanet after a push, and deploys it, it should be ron post-receive
# If it is the production branch, it will deploy it on the life system, and other branch will get deployed to the dev-canvas (a second canvas that is running on the server)
#
# To set up a server to use this, you have to go through the building steps manually first.
# To set up a server to use this, you have to go through the building steps manually first and check out the branches you want to use.
#
#folder for building the canvas (the git repository will get checkout there and the canvas will get buil thtere)
BUILDDIR="/home/pixelpla/pixelplanet-build"