antweb/deployer-recipe

本包的最新版本(2.0.1)没有可用的许可证信息。

2.0.1 2024-08-18 10:04 UTC

This package is auto-updated.

Last update: 2024-09-18 10:20:22 UTC


README

composer require antweb/deployer-recipe

确保您已经使用以下命令安装了 deployer:

curl -LO https://deployer.org/deployer.phar
mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep

参考:https://deployer.org/docs/installation.html

在项目根目录下运行以下命令(Linux或Windows终端均可):

cp ./vendor/antweb/deployer-recipe/hosts.example.yml ./hosts.yml
cp ./vendor/antweb/deployer-recipe/deploy.example.php ./deploy.php

将以下行添加到 .gitignore 文件中(如果文件不存在,请创建一个):

/hosts.yml

根据需要编辑 hosts.yml 文件和 deploy.php 文件:

运行

dep deploy beta