- Disabled Git submodules by default
- Removed an unused library
- Fixed a Ruby/Capistrano bug
This project is aimed to provide a simple tool that will deploy your Magento project to a set of environments.
- Ruby (<= 1.9.3)
- Bundler
- Capistrano (<= 2.15.5)
- Git
- Composer
Install Ruby, Git and download Composer on your own. Google for howto's depending on your OS and environmnet 😄
Download skeleton to your Magento project via Composer. For this, add the following to your composer.json
:
{
"minimum-stability": "dev",
"require": {
"magento-hackathon/magento-composer-installer": "*",
"evozon/magentify-extended": "*"
},
"repositories": [
{
"type": "git",
"url": "[email protected]:evozon/magentify-extended.git"
}
],
"extra": {
"magento-root-dir": "./",
"magento-deploystrategy": "copy"
}
}
and run:
php composer.phar install
Install required Ruby gems and dependiencies via Bundler:
cd deploy/capistrano
sudo gem install bundler
bundle install
Configure Capistrano
Edit project under deploy/capistrano/deploy/project.rb
and tasks or other actions under deploy/capistrano/deploy/deploy.rb
Create a package folder under deploy/capistrano/deploy/
where you can have a config file for each environment (example: deploy/capistrano/deploy/coolapp/production.rb
)
- The guys who developed Capistrano
- Alistair Stead from Magentify