Init Gitea

This commit is contained in:
dqj
2025-10-06 21:31:13 +09:00
commit c879b8de12
60 changed files with 41314 additions and 0 deletions

20
etc/Readme.txt Normal file
View File

@@ -0,0 +1,20 @@
* How to CICD to servers by git
** Create empty git repo on each server
mkdir -p ~/cicd/sisai-world-cicd.git
cd ~/cicd/sisai-world-cicd.git
git init --bare
** Copy svr_git_hooks_post-receive to ~/cicd/sisai-world-cicd.git/hooks/ on server
** Edit to fit server env and rename to post-receive
** chmod +x post-receive
** Edit and test code locally
** run deploy_XX.sh
**(Option)the first time may have to copy and edit .env file on servers
* Start node.js:
pm2 start app.js --name sisai