This method downloads wordpress and themosis as zips, symlinks the wp-content
folder into the wp
folder from wordpress install, then installs themosis dependencies with composer
Created
April 25, 2014 16:28
-
-
Save AlexandreKilian/11295328 to your computer and use it in GitHub Desktop.
Installing Wordpress and Themosis with Composer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Themosis Composerinstall", | |
"author": "Alexandre Kilian", | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://wpackagist.org" | |
}, | |
{ | |
"type": "package", | |
"package": { | |
"name": "wordpress", | |
"type": "webroot", | |
"version": "3.8.1", | |
"dist": { | |
"type": "zip", | |
"url": "https://github.com/WordPress/WordPress/archive/3.8.1.zip" | |
}, | |
"require": { | |
"fancyguy/webroot-installer": "1.0.0" | |
} | |
} | |
}, | |
{ | |
"type": "package", | |
"package": { | |
"name": "themosis/themosis", | |
"type": "wordpress-plugin", | |
"version": "1.0.0", | |
"dist": { | |
"type": "zip", | |
"url": "https://github.com/themosis/themosis/archive/master.zip" | |
}, | |
"require": { | |
"symfony/http-foundation": "2.4.2" | |
} | |
} | |
} | |
], | |
"require": { | |
"php": ">=5.3.0", | |
"wordpress": "3.8.1", | |
"fancyguy/webroot-installer": "1.0.0", | |
"wpackagist-theme/twentyfourteen": "*", | |
"themosis/themosis": "1.0.0" | |
}, | |
"scripts": { | |
"post-install-cmd": [ | |
"cd wp && rm -rf wp-content && ln -s ../wp-content wp-content", | |
"cd ./wp-content/plugins/themosis && php ../../../composer.phar install" | |
] | |
}, | |
"extra": { | |
"webroot-dir": "wp", | |
"webroot-package": "wordpress", | |
"installer-paths": { | |
"wp-content/languages/": ["language-de_DE-sie"] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment