Overview of ElephpantDB SQL database
VACUUM command used for cleanup. It includes features such as file locking, checksums, crash recovery, and hash indexes (which act as rebuildable caches).website·Indexed 36 days ago
https://deployer.org/Documentation for Deployer, a PHP deployment tool. Includes API references for host management and task execution, CLI usage, and deployment recipes for frameworks and CMSs such as Laravel, Symfony, WordPress, Magento 2, and Yii. Covers versions 7.x and 8.x, including upgrade guides and configuration for various contrib plugins.
VACUUM command used for cleanup. It includes features such as file locking, checksums, crash recovery, and hash indexes (which act as rebuildable caches).MAML is a JSON superset used for Deployer recipes (files with the .maml extension). It supports comments, raw multiline strings, optional commas, unquoted keys, and ordered objects.
Key syntax rules:
# for end-of-line comments."...") with escapes, or raw strings ("""...""") where newlines are preserved and escapes are ignored (ideal for scripts).true, false, and null.The deploy task for Symfony follows a specific sequence of operations to ensure a zero-downtime release:
deploy:info task displays summary information about the current deployment, utilizing the what and where configuration settings to identify the project and target environment.The deploy task for Laravel executes the following sequence of operations:
Deployer 8.x introduces several new capabilities:
deploy.maml recipe format.update_code_strategy that copies code from the local machine instead of a remote repository.writable_acl_groups and writable_acl_force options for deploy:writable.{
import: ["recipe/common.php"]
hosts: {
"deployer.org": {
remote_user: "deployer"
deploy_path: "~/deployer.org"
}
}
tasks: {
deploy: [
"deploy:prepare"
"deploy:publish"
]
build: [
{ runLocally: "npm run clear" }
{ runLocally: "npm run build" }
]
"deploy:update_code": [
{
upload: {
src: "build/"
dest: "{{release_path}}"
}
}
]
}
}supervisord-monitor recipe allows you to manage Supervisord processes (restart, start, stop) via the Supervisord server monitoring web tool using cURL. This is particularly useful when the deployment user lacks sufficient CLI permissions to restart daemon processes directly.require 'contrib/supervisord-monitor.php';require 'contrib/cpanel.php';The deploy task for CodeIgniter 4 follows a specific sequence of steps to ensure a safe release:
deploy:prepare (includes setup, lock, release, update_code, env configuration, shared symlinks, and setting writable directories).deploy:vendors installs PHP dependencies.spark:optimize prepares the app for production.spark:migrate runs pending database migrations.deploy:publish (includes symlinking the release, unlocking, and cleaning up old releases).The deploy task for Contao is a group task that executes the following sequence to ensure zero-downtime deployment:
deploy:prepare: Prepares the new release (includes setup, lock, release, update_code, env, shared, and writable).deploy:vendors: Installs PHP dependencies.contao:maintenance:enable: Puts the site into maintenance mode.contao:migrate: Runs database migrations.contao:maintenance:disable: Takes the site out of maintenance mode.deploy:publish: Publishes the release (includes symlinking, unlocking, cleanup, and success notification).