Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
Aleksey Razbakov edited this page Jan 13, 2015 · 2 revisions

Installation

There is no more need to store all Magento files in the project repo. Create composer.json in your project root:

{
    "name": "your-company/your-project-name",
    "description": "Your project description",
    "minimum-stability": "dev",
    "authors": [
        {"name": "Your Name", "email": "your@email.com"}
    ],
    "repositories": [
        {"type": "composer", "url": "http://packages.kirchbergerknorr.de"},
        {"type": "composer", "url": "http://packages.firegento.com"}
    ],
    "require": {
        "kirchbergerknorr/magento": "1.9.0.*"
    },
    "extra": {
        "magento-root-dir": "src",
        "auto-append-gitignore": true,
        "magento-deploystrategy": "copy",
        "magento-force": true
    }
}
  • Use minimum-stability property if you want to use in require section unstable latest master (version *) instead of stable versions (like 1.0.1).
  • In require section for kirchbergerknorr/magento you can use versions: 1.8.1., 1.7.0.*, 1.9.0.*
  • Store your magento in subdirectory (property magento-root-dir = src), so src/.gitignore could be generated (property auto-append-gitignore) and you don't need to store magento files in your repo and keep your git change set clean.

Support

Do you have question? Ask here.

Clone this wiki locally