Collection of recipes to build app stack for the Magento deployments with Chef
echo "cookbook 'magento', '~> 0.7'" >> Berksfile
berks install
berks upload # if using with Chef Server
Run the following commands with-in your Chef Repository:
knife cookbook site install magento
knife cookbook upload magento
Bootstrap Rackspace Cloud Servers instance with:
knife rackspace server create --run-list 'recipe[magento]' --server-name magebox --image 125 --flavor 3
Navigate to the node URL or IP in your browser to complete Magento installation. NOTE: you might need to skip base url validation.
Default Mysql Credentials:
- database: magento
- user: magentouser
- password: randombly generated, see magento -> db attributes under Chef Server dashboard
See Launch Cloud Instances with Knife for the reference.
The project preconfigured with a helper tools for bootstraping cookbook in a sandboxed environment, i.e. VirtualBox
- Bundler:
gem install bundler
- Berkshelf:
bundle install
- Vagrant 1.1.0 and greater
- Berkshelf plugin for Vagrant:
vagrant plugin install vagrant-berkshelf
- Omnibus plugin for Vagrant:
vagrant plugin install vagrant-omnibus
vagrant up
VMBOX='centos65' vagrant up
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request