An easy to use and extendable deployment tool for PHP projects.
C'est fini. Accompli!
View the complete documentation of Accompli on accompli.readme.io.
Run the following command to add the package to the composer.json of your project:
$ composer require accompli/accompli --dev
Accompli uses Semantic Versioning 2 for new versions.
- Create an accompli.json defining the hosts to deploy to and the tasks to run during install and deployment.
By running the following command, Accompli will guide you in creating a basic accompli.json configuration:
$ vendor/bin/accompli init
Note that below example might not work for your project.
{
"$extend": "accompli://recipe/defaults.json",
"hosts": [
{
"stage": "test",
"connectionType": "ssh",
"hostname": "example.com",
"path": "/var/www/example.com"
}
],
"events": {
"subscribers": [
{
"class": "Accompli\\Task\\CreateWorkspaceTask"
},
{
"class": "Accompli\\Task\\RepositoryCheckoutTask",
"repositoryUrl": "https://github.com/example.com/example.com.git"
},
{
"class": "Accompli\\Task\\DeployReleaseTask"
},
{
"class": "Accompli\\Task\\MaintenanceModeTask"
}
]
}
}
-
Run Accompli to install a release of your project:
vendor/bin/accompli install-release <version>
-
Run Accompli to deploy an installed release of your project:
vendor/bin/accompli deploy-release <version> <stage>
For a more detailed description on how to use Accompli, please see the getting started page.
- Niels Nijens
- Reyo Stallenberg (creator of the name 'Accompli')
Also see the list of contributors who participated in this project.
Accompli is licensed under the MIT License. Please see the LICENSE file for details.