Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yevgenko/cookbook-magento
Collection of recipes to build app stack for the Magento deployments with Chef
https://github.com/yevgenko/cookbook-magento
Last synced: 3 months ago
JSON representation
Collection of recipes to build app stack for the Magento deployments with Chef
- Host: GitHub
- URL: https://github.com/yevgenko/cookbook-magento
- Owner: yevgenko
- Created: 2010-08-26T21:36:30.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2021-08-01T22:06:17.000Z (over 3 years ago)
- Last Synced: 2024-06-30T18:09:05.430Z (4 months ago)
- Language: Ruby
- Homepage: http://cookbooks.opscode.com/cookbooks/magento
- Size: 390 KB
- Stars: 36
- Watchers: 13
- Forks: 37
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-magento - Cookbook Magento - Collection of recipes to build app stack for the Magento deployments with Chef. (Deployments / Full Page Caching)
README
# Magento Cookbook
Collection of recipes to build app stack for the [Magento][] deployments with
[Chef][]## Installation
### With Berkshelf
echo "cookbook 'magento', '~> 0.7'" >> Berksfile
berks install
berks upload # if using with Chef Server### With Chef Repository
Run the following commands with-in your [Chef Repository][]:
knife cookbook site install magento
knife cookbook upload magento## Usage Examples
### Single Rackspace Cloud Server Instance
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 dashboardSee [Launch Cloud Instances with Knife][] for the reference.
## Hacking
The project preconfigured with a helper tools for bootstraping cookbook in a
sandboxed environment, i.e. [VirtualBox][]### Requirements
* [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`### Bootstrap VirtualBox
#### With Ubuntu 12.04
vagrant up
#### With CentOS 6.5
VMBOX='centos65' vagrant up
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request[Magento]:http://www.magentocommerce.com/
[Chef]:http://www.opscode.com/chef/
[Chef Repository]:http://wiki.opscode.com/display/chef/Chef+Repository
[Chef Roles]:http://wiki.opscode.com/display/chef/Roles
[Rackspace Cloud Servers]:http://www.rackspace.com/cloud/cloud_hosting_products/servers/
[Launch Cloud Instances with Knife]:http://wiki.opscode.com/display/chef/Launch+Cloud+Instances+with+Knife
[VirtualBox]:https://www.virtualbox.org/
[Vagrant]:http://vagrantup.com/
[Berkshelf]:http://berkshelf.com/
[Bundler]:http://gembundler.com/