Download the PHP package nutshell-framework/deployer-recipes without Composer
On this page you can find all versions of the php package nutshell-framework/deployer-recipes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nutshell-framework/deployer-recipes
More information about nutshell-framework/deployer-recipes
Files in nutshell-framework/deployer-recipes
Package deployer-recipes
Short Description The Deployer recipes used at Erdmann & Freunde
License MIT
Homepage https://github.com/nutshell-framework/deployer-recipes
Informations about the package deployer-recipes
Deployer recipes
The Deployer recipes used at Erdmann & Freunde.
Intended to work with Contao version 4.13+ and Deployer 7. An opinionated extension of the default Contao recipe.
Install
Usage
Install Deployer globally or per project.
Create a deploy.php inside the project. Either use single recipes or the simplified project.php recipe.
When not using public
as the web directory, please set it respectively:
Deploy
dep deploy [host]
Custom .htaccess file per host
Create a .htaccess file in your project, e.g., .htaccess_prod
, then configure it for the host:
Files sync
dep files:retrieve [host]
syncs the remote /files folder with the local /files folder
Database helpers
These tasks restore/release the database local <-> remote unidirectionally.
dep database:retrieve [host]
downloads a database dump from remote and overwrites the local databasedep database:release [host]
overwrites the remote database with the local one
Other
Upgrading from Deployer 6
First, it is easiest to create the deploy.php
from scratch since it is much simplified now and the host config
changed.
Second, since the release history numbering is not compatible between v6 and v7, you need to specify the release name manually for the first time. Otherwise, you start with release 1.
- Find out the latest release (SSH onto the remote machine, look into the releases folder), e.g., "42".
dep deploy -o release_name=43
Note: Old releases from Deployer 6 won't be cleaned up automatically. Delete the old release manually. (Actually, you can also start with release 1, that's no big deal.)