Last active
August 29, 2015 13:57
-
-
Save radermacher/9490727 to your computer and use it in GitHub Desktop.
Add support for composer to ManagedHosting Pro @domainfactory
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
# Run | |
# curl -sS https://gist.githubusercontent.com/deseloper/9490727/raw/961ed008c8e784fc62a929ae84eed275d25d65f2/install-composer.sh | sh | |
# | |
PHPCLI=/usr/local/bin/php5.4.16-cli | |
cd ~; mkdir bin | |
curl -sS https://getcomposer.org/installer | ${PHPCLI} -- --install-dir=bin | |
chmod +x bin/composer.phar | |
echo "alias composer=\"${PHPCLI} ~/bin/composer.phar\"" >> ~/.bashrc | |
echo "alias composer=\"${PHPCLI} ~/bin/composer.phar\"" >> ~/.zshrc | |
source ~/.bashrc | |
source ~/.zshrc | |
echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * *" | |
composer --version | |
echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * * *" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment