Jeremy Zheng 7a67dccce6 :truck: mv migrations & scripts into v1 %!s(int64=4) %!d(string=hai) anos
..
group_vars 9021d29261 :rocket: add php8.0 support %!s(int64=4) %!d(string=hai) anos
roles 9021d29261 :rocket: add php8.0 support %!s(int64=4) %!d(string=hai) anos
staging 9021d29261 :rocket: add php8.0 support %!s(int64=4) %!d(string=hai) anos
.gitignore 59e37065b6 :truck: move deploy from public folder %!s(int64=4) %!d(string=hai) anos
README.md 59e37065b6 :truck: move deploy from public folder %!s(int64=4) %!d(string=hai) anos
mint.yml 9021d29261 :rocket: add php8.0 support %!s(int64=4) %!d(string=hai) anos
ping.yml 59e37065b6 :truck: move deploy from public folder %!s(int64=4) %!d(string=hai) anos

README.md

Deployment

Setup a cluster

# create cluster
mkdir -p clients/CLUSTER/.ssh
cd clients/CLUSTER
# append your cluster hosts
touch hosts
# generate ssh key
ssh-keygen -t ed25519 -f .ssh/id_ed25519
# upload the ssh public key to target host
ssh-copy-id -i .ssh/id_ed25519 USER@HOST

Deploy

# test ssh connections
peony -i staging ping.yml
# run on all hosts
peony -i staging pi.yml
# run on only group
peony -i staging pi.yml -l GROUP

System image

Crontab

Daily

  1. upgrade_pali_toc.php

    /public/app/upgrade/upgrade_pali_toc.php
    

time: 17:00 UTC