[Neos] Local Git versioning of a NEOS project
pankaj at lelesys.com
Tue Apr 15 16:37:18 CEST 2014
The best way is to fully use composer. Make version control of your own
With TYPO3 Flow or TYPO3 Neos project you can create 2 or more GIT
repositories inside your own GIT server. 1 repository which contains
your base composer.json manifest and global Configuration files like
Routes.yaml etc. Then another GIT repository/ies for packages you will
develop. these package repositories will have their own composer.json
manifest. so create composer.json in each package repository and push
Now in base repository's composer.json add each of your pacakge
repository URL in the "repositories" section. In the "require" section
add the package keys of your own packages.
After you run "composer update" your packages will be installed in
Packages/Application or Packages/Sites as per your package type.
So when you want to get your project cloned, simply clone the base
repository and run composer update in it to get everything else
CTO - Lelesys, India
> Hey there,
> i've just installed TYPO3-Neos and was wondering about the fact that
> NEOS / Composer is adding some Git folders to my structure.
> Now i could go through all folders and delete the .git directories
> manualy to keep the repository clean or create a .gitmodules file to fix
> the broken relations.
> Or is there an other / specified way for doing a local versioning of the
> project (maybe with TYPO3-Surf?)?
> Thanks & Regards
More information about the Neos