Last active
August 29, 2015 14:03
-
-
Save shihshen/9019ad77c95c485c0ccb to your computer and use it in GitHub Desktop.
Howto deploy sails app to openshift
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
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