Skip to content

Instantly share code, notes, and snippets.

@kdambekalns
Forked from christianjul/composer.json
Created September 25, 2012 18:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdambekalns/3783752 to your computer and use it in GitHub Desktop.
Save kdambekalns/3783752 to your computer and use it in GitHub Desktop.
FLOW3 Barebone manifest
{
"name": "christianjul/barebone-flow3",
"description" : "Barebone FLOW3 project",
"license": "LGPL-3.0+",
"authors": [
{
"name": "Christian Jul Jensen",
"email": "julle@typo3.org"
}
],
"repositories": [
{
"type": "composer",
"url": "http://ci.typo3.robertlemke.net/job/composer-packages/ws/repository/"
}
],
"config": {
"vendor-dir": "Packages/Vendor",
"bin-dir": "bin"
},
"require": {
"typo3/flow3": "dev-master",
"typo3/welcome": "dev-master"
},
"require-dev": {
"typo3/kickstart": "dev-master",
"mikey179/vfsstream": "1.1.*"
},
"minimum-stability": "dev",
"scripts": {
"post-update-cmd": "TYPO3\\FLOW3\\Composer\\InstallerScripts::postUpdateAndInstall",
"post-install-cmd": "TYPO3\\FLOW3\\Composer\\InstallerScripts::postUpdateAndInstall"
}
}
@kdambekalns
Copy link
Author

Note: with this I can install a bare FLOW3 setup. I used a different composer repository, though (set up locally using satis, pointing to the most recent stuff).

@kdambekalns
Copy link
Author

How to use this:

  • create an empty directory
  • in there put the gist as composer.json
  • (install composer if needed)
  • run composer install --dev
  • run ./flow3 flow3:core:setfilpermissions as needed

Unit and functional tests should run fine now. For the welcome package the Routes.yaml that used to be in the FLOW3 base distribution needs to be put into the configuration folder, then the welcome package also should work.

@afoeder
Copy link

afoeder commented Sep 26, 2012

additional note to have it here "at hand": installing Composer to the local directory is done via

curl -s https://getcomposer.org/installer | php

This installs a composer.phpar file which can be used for installing like stated above (eg php composer.phpar install --dev)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment