From c9a3446978e0effe838671dad6d072e9ea98f650 Mon Sep 17 00:00:00 2001 From: filesite Date: Wed, 10 Jul 2024 17:32:05 +0800 Subject: [PATCH] add readme.md template --- funs.sh | 10 ++++++++++ template/readme_beauty.md | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 template/readme_beauty.md diff --git a/funs.sh b/funs.sh index 63743b2..0af4c05 100644 --- a/funs.sh +++ b/funs.sh @@ -226,6 +226,10 @@ createShortcuts () { echo "[InternetShortcut]" > ~/Desktop/视频.url echo "URL=http://${ip}:8182" >> ~/Desktop/视频.url fi + + # add shortcuat to tajian.tv + echo "[InternetShortcut]" > ~/Desktop/Ta荐.url + echo "URL=https://tajian.tv" >> ~/Desktop/Ta荐.url } # 删除桌面快捷方式 @@ -244,9 +248,15 @@ upgradeMacheteInContainers () { name=$1 if [ "${name}" == "album" ]; then + # copy readme.md + docker container cp template/readme_beauty.md machete_album:/var/www/machete/www/girls/ + # copy config file docker container cp template/custom_config_beauty.json machete_album:/var/www/machete/runtime/custom_config.json docker exec -it machete_album /var/www/machete/bin/upgrade.sh else + # copy readme.md + docker container cp template/readme_beauty.md machete_vlog:/var/www/machete/www/girls/ + # copy config file docker container cp template/custom_config_videoblog.json machete_vlog:/var/www/machete/runtime/custom_config.json docker exec -it machete_vlog /var/www/machete/bin/upgrade.sh fi diff --git a/template/readme_beauty.md b/template/readme_beauty.md new file mode 100644 index 0000000..1867daf --- /dev/null +++ b/template/readme_beauty.md @@ -0,0 +1,20 @@ +# 家庭相册 + +Machete基于PHP开发,支持Docker安装、升级,使用方便。 + + +## 使用场景 + +* 家庭相册,局域网搭建图片、视频网站,在家庭成员之间、不同设备里共享照片、视频 +* 摄影工作室,搭建照片集方便客户在手机里远程挑选照片 +* 摄影发烧友,收藏、展示自己的图片、视频 + +## 使用帮助 + +欢迎加QQ群交流 + +* Machete交流群 + +## 友情链接 + +* Ta荐 - 你的聚宝盆 \ No newline at end of file