2017 © Pedro Peláez
 

library accompli

An easy to use and extendable deployment tool for PHP projects.

image

accompli/accompli

An easy to use and extendable deployment tool for PHP projects.

  • Monday, April 24, 2017
  • by niels-nijens
  • Repository
  • 4 Watchers
  • 10 Stars
  • 13,236 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 14 Forks
  • 52 Open issues
  • 9 Versions
  • 8 % Grown

The README.md

Accompli

Latest version on Packagist Latest pre-release version on Packagist Software License ![Build Status][ico-build] [Coverage Status][link-coverage] SensioLabsInsight ![StyleCI][ico-code-style], (*1)

An easy to use and extendable deployment tool for PHP projects., (*2)

C'est fini. Accompli!, (*3)

View the complete documentation of Accompli on accompli.readme.io., (*4)

Installation using Composer

Run the following command to add the package to the composer.json of your project:, (*5)

bash $ composer require accompli/accompli --dev, (*6)

Versioning

Accompli uses Semantic Versioning 2 for new versions., (*7)

Usage

  1. Create an accompli.json defining the hosts to deploy to and the tasks to run during install and deployment., (*8)

    By running the following command, Accompli will guide you in creating a basic accompli.json configuration: ``` bash $ vendor/bin/accompli init, (*9)


    *Note that below example might not work for your project.* ``` json { "$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" } ] } }
  2. Run Accompli to install a release of your project: vendor/bin/accompli install-release <version>, (*10)

  3. Run Accompli to deploy an installed release of your project: vendor/bin/accompli deploy-release <version> <stage>, (*11)

For a more detailed description on how to use Accompli, please see the getting started page., (*12)

Credits and acknowledgements

Also see the list of contributors who participated in this project., (*13)

License

Accompli is licensed under the MIT License. Please see the LICENSE file for details., (*14)

The Versions