Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maschmann/php-deploy
php wrapper for different deployment tools
https://github.com/maschmann/php-deploy
Last synced: about 2 months ago
JSON representation
php wrapper for different deployment tools
- Host: GitHub
- URL: https://github.com/maschmann/php-deploy
- Owner: maschmann
- License: mit
- Created: 2014-06-27T05:11:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T20:33:16.000Z (over 9 years ago)
- Last Synced: 2023-04-01T10:29:23.650Z (almost 2 years ago)
- Language: PHP
- Size: 566 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# php-deploy
PHP wrapper for ansible deployments.
This repo intends to mainly provide a nice and easy way to manage ansible deployments to different servers and by different methods.
Ansible has become my favorite provisioning tool for most of my projects, so wrapping up the commandline stuff and maybe creating a GUI for showing the deloyment results is the next logixal step.
The user authentication relies on FOSUserBundle, to keep things plain and simple.## What does it do?
Mainly there's a symfony2 application and ansible. Symfony provides the commandline tools and the gui, ansible does the hard work :-)
## Installation
Clone, checkout or composer install the repo.
### initialize database
```
$ app/console doctrine:database:create
``````
$ app/console doctrine:schema:update --force
```
### get your ansible deployments into placeYour deployments go here:
```
php-deploy
|
|- app
|
|- deployment
| |
| |-
| | |- roles
| | |- playbook.yml
| | |- inventory
|
|- src
|- web
```### some things you need to consider
* if your deployment is key-based, your php (or webserver) user needs to have it in its ssh folder
* all actions will be done with the webserver user until we've implemented cronjob-based deployments