cookbook 'symfony_project', '= 0.0.2'
The symfony_project cookbook has been deprecated
Author provided reason for deprecation:
The symfony_project cookbook has been deprecated and is no longer being maintained by its authors. Use of the symfony_project cookbook is no longer recommended.
You may find that the activelamp_symfony cookbook is a suitable alternative.
symfony_project (3) Versions 0.0.2 Follow0
Cookbook for deploying Symfony2 projects.
cookbook 'symfony_project', '= 0.0.2', :supermarket
knife supermarket install symfony_project
knife supermarket download symfony_project
This cookbook provides an easy way to deploy a Symfony2 application, as well as run console commands on it.
This does not have any hard dependencies on other cookbooks. However you would obviously need the version of PHP you need to run the Symfony application, and of course Composer. You have the choice of which cookbooks you want to use to have this ready on your nodes.
- Tested on Ubuntu/Debian only, but the deploy actions should work with any platform. However, there is no provider to handle
:set_permissionson Windows at the moment.
Resources / Providers
This resource simply extends the built-in
deploy resource, but provides sensible defaults that are relevant to most Symfony projects. For example, symlinks are automatically created for
vendor into the shared folder so that they persist between deploys.
web/media/uploads is also automatically symlinked. You can override these links by specifying the
shared_dirs option in the resource.
- All actions supported by the
:set_permissions- Sets the permissions of
app/cache, and other shared folders you specify.
#Deploy a Symfony project symfony_project "/path/to/project" do repo 'firstname.lastname@example.org:foo_organization/bar_application.git' revision 'v1.2' git_ssh_wrapper '/tmp/ssh-wrapper.sh' action [:deploy, :set_permissions] end
All options for the
deploy resource is applicable here. However here are additional options that are
||The directories to create under the shared directory and symlinked into every deployment.|
||The provider that handles the setting of the appropriate permissions on the shared directories, most notably
||The user to whom permission will be granted. Only relevant on
License and Authors
Author: Bez Hermoso email@example.com
Copyright: 2012-2014, ActiveLAMP
|git ~> 4.0.2|
|activelamp_composer ~> 0.0.1|
There are no cookbooks that are contingent upon this one.
0.0.2 passed this metric
0.0.2 passed this metric