Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farridav/fabric-magento
Deployment and development for a Magento project, designed to work with farridav/ansible-magento
https://github.com/farridav/fabric-magento
Last synced: about 1 month ago
JSON representation
Deployment and development for a Magento project, designed to work with farridav/ansible-magento
- Host: GitHub
- URL: https://github.com/farridav/fabric-magento
- Owner: farridav
- License: gpl-2.0
- Created: 2014-10-31T09:59:31.000Z (about 10 years ago)
- Default Branch: develop
- Last Pushed: 2015-07-11T16:46:14.000Z (over 9 years ago)
- Last Synced: 2024-10-15T14:06:57.205Z (3 months ago)
- Language: Python
- Size: 188 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Fabric Magento
Fabric Deployment scripts for deploying to a Magento installation that has been
provisioned with [this project](https://github.com/farridav/ansible-magento)To get setup for working on this project you will need fabric installed
NOTE: This does not currently go into any detail about how to setup your local
environment for provisioning, I will do a better job on this ASAP## Project setup (Not including provisioning or local dev)
```
fabfile/ (this repo)
site/ (Your* Magento files)
```* NOT Magento core, just your theme, local modules etc.
## Deployment
Ensure you have made an env.yml in your project root, example below:```
---environments:
stage:
user: my_applications_user
hosts:
- 12.34.567.890
```Then deploy to it with `fab stage deploy`
## Useful Commands
### List off all available fab tasks
`fab -l`### List off all available environments
`fab env`### Steal the DB from the given environment
`fab use: get_db`### Load a DB into the given environment
`fab use: put_db`### Sync your local files with the given environment every second
`fab use: develop`### Drop into a shell on the given environment
`fab use: shell`### Drop into a mysql shell on the given environment
`fab use: dbshell`### Update the Magento core (Used for all subsequent deploys)
`fab use: update_magento_core`