Skip to content

Instantly share code, notes, and snippets.

@ottonet
Created February 24, 2015 15:54
Show Gist options
  • Save ottonet/db292abaac67edba4b7e to your computer and use it in GitHub Desktop.
Save ottonet/db292abaac67edba4b7e to your computer and use it in GitHub Desktop.
Magento CE 1.9.0.1 + Patches composer install
{
"minimum-stability":"dev",
"require": {
"magento/ce": "1.9.1.0",
"aoepeople/composer-installers": "*"
},
"repositories": [
{ "type": "package", "package": { "name": "magento/ce", "version": "1.9.1.0", "type": "magento-source",
"dist": { "url": "https://github.com/ottonet/magento_core/archive/v1.9.1.0-p1.tar.gz", "type": "tar" }}}
],
"extra": {
"installer-paths": {
"htdocs": ["type:magento-source"],
".modman/{$vendor}_{$name}/": ["type:magento-module"]
}
},
"config": {
"discard-changes": true
},
"scripts": {
"pre-install-cmd": [
"mkdir -p ./.modman && echo \"htdocs/\" > ./.modman/.basedir"
],
"post-install-cmd": [
"mv ./htdocs/var ./var",
"mv ./htdocs/media ./media",
"ln -rs ./var ./htdocs/var",
"ln -rs ./media ./htdocs/media"
],
"post-update-cmd": [
"modman deploy-all --force"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment