brendanpetty/deployer

一个小型库,自动处理应用部署流程

v1.2 2024-09-23 04:05 UTC

This package is auto-updated.

Last update: 2024-09-23 04:26:21 UTC


README

一个小型库,自动处理应用部署流程

将依赖安装到项目中

composer require brendanpetty/deployer

设置项目

cd ~
wget https://raw.githubusercontent.com/brendanpetty/deployer/main/install_deployer.sh
chmod u+x install_deployer.sh
./install_deployer.sh

然后使用(至少)数据库和电子邮件凭据编辑 .env 文件。

部署项目

在终端中运行(用您的相关路径替换 *)

    ~/deploy_*.sh

通常选项 2 会完成所有必要的更新工作,然后使用选项 1 退出脚本。