ex-akt/deployer-recipes

本软件包最新版本(1.1)没有提供许可信息。

ex-akt IT MEDIA CONSULTING使用的部署脚本

1.1 2023-08-15 09:04 UTC

This package is auto-updated.

Last update: 2024-09-15 11:26:32 UTC


README

ex-akt IT MEDIA CONSULTING使用的部署脚本。

旨在与Contao版本4.13+和Deployer 7一起工作。默认Contao脚本和nutshell-framework/deployer-recipes的扩展意见。

安装

composer require --dev 'ex-akt/deployer-recipes:^1.0'

用法

全局或按项目安装Deployer

在项目中创建一个deploy.php。可以使用单个脚本或简化的project.php脚本。

部署

  • dep deploy [主机]

每个主机的自定义_.env文件

在你的项目中创建一个.env.prod文件,例如.env.prod,然后为该主机进行配置

host('www.example.org')
    ->set('env_filename', '.env.prod')