Last active
February 12, 2017 03:29
-
-
Save antonybudianto/141a233b170ebca4682b to your computer and use it in GitHub Desktop.
This file contains 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
echo "Installing composer dependencies..." | |
curl -sS https://getcomposer.org/installer | php | |
php composer.phar install --no-dev --ignore-platform-reqs | |
rm -f composer.phar | |
#rm -rf $OPENSHIFT_HOMEDIR/app-root/build-dependencies/.npmrc | |
#mkdir -p $OPENSHIFT_HOMEDIR/app-root/build-dependencies/.npmrc | |
#export NPM_CONFIG_USERCONFIG=$OPENSHIFT_HOMEDIR/app-root/build-dependencies/.npmrc | |
#rm -rf $OPENSHIFT_HOMEDIR/app-root/build-dependencies/.npm | |
#mkdir -p $OPENSHIFT_HOMEDIR/app-root/build-dependencies/.npm | |
#export N_PREFIX=$OPENSHIFT_DATA_DIR | |
#npm config set cache app-root/build-dependencies/.npm | |
#npm cache clear | |
#npm install n | |
#./node_modules/.bin/n "5.0.0" | |
#/var/lib/openshift/564748167628e1fe7f00009d/app-root/data/n/versions/node/5.0.0/bin/npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So nice!!! Thank you!