Skip to content

Instantly share code, notes, and snippets.

@randomresult
Last active December 25, 2015 16:09
Show Gist options
  • Save randomresult/7004175 to your computer and use it in GitHub Desktop.
Save randomresult/7004175 to your computer and use it in GitHub Desktop.
Installing and initialising Modman for Magento #magento
# Create a directory next to your MagentoRoot folder like this :
html/magento/
html/modman/
#protect modman-dir
echo -e "Order Allow,Deny\nDeny from All" > html/modman/.htaccess
(or simply dont place it into a accessible directory)
# cd into this directory (modman)
curl -O https://raw.github.com/colinmollenhour/modman/master/modman
#change Permissions
chmod u+x modman
#Init BASEDIR
./modman init ../magento/
#clone repos into modman-dir
git clone https://github.com/example/example.git
#deploy using modman
./modman deploy-all
./modman deploy directory
#copy files instead of linking them
./modman deploy directory --copy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment