Skip to content

Instantly share code, notes, and snippets.

@shihshen
Last active August 29, 2015 14:03
Show Gist options
  • Save shihshen/9019ad77c95c485c0ccb to your computer and use it in GitHub Desktop.
Save shihshen/9019ad77c95c485c0ccb to your computer and use it in GitHub Desktop.
Howto deploy sails app to openshift
1. A config/local.js looked like https://github.com/Powpow-Shen/prototype-a/blob/master/config/local.js
2. A .gitignore file looked like https://github.com/Powpow-Shen/prototype-a/blob/master/.gitignore, but comment local.js and don't commit confidential data in.
3. workaround for https://github.com/dbashford/mimosa-bower/issues/29#issuecomment-36615528
change postinstall in package.json to "postinstall": "HOME=$HOME/app-root/runtime bower install"
4. That's all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment