Skip to content

Instantly share code, notes, and snippets.

@connyay
Created September 29, 2014 17:27
Show Gist options
  • Save connyay/6aaeee61615b1d770890 to your computer and use it in GitHub Desktop.
Save connyay/6aaeee61615b1d770890 to your computer and use it in GitHub Desktop.
build example
#!/bin/bash
# Change home directory (bower puts a lot of cache and tmp directories here)
HOME=$OPENSHIFT_REPO_DIR
cd $OPENSHIFT_REPO_DIR
mkdir -p "$OPENSHIFT_DATA_DIR"node_modules
ln -s "$OPENSHIFT_DATA_DIR"node_modules node_modules
npm install --loglevel error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment