visuddhinanda a648d7fda9 crontab time change to UTC 4 years ago
..
group_vars fd829c1f6d :tada: move to laravel 4 years ago
migaration a8f51ba3c2 :bug: 加错误处理 4 years ago
roles fd829c1f6d :tada: move to laravel 4 years ago
staging fd829c1f6d :tada: move to laravel 4 years ago
.gitignore fd829c1f6d :tada: move to laravel 4 years ago
README.md a648d7fda9 crontab time change to UTC 4 years ago
install.bat d43c09a925 :sparkles: add php ../app/fts/sql.php 4 years ago
install.md fd829c1f6d :tada: move to laravel 4 years ago
install.sh 8a4acd5f5c word_index_weight_refresh.php 放在最后 因为太慢了 4 years ago
mint.yml fd829c1f6d :tada: move to laravel 4 years ago
ping.yml fd829c1f6d :tada: move to laravel 4 years ago
upgrade_redis.bat 9382174b6b :tada: win upgrade redis bat 4 years ago
upgrade_redis.sh bf44b43776 :tada: create 4 years ago

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