Last active
December 27, 2015 12:19
-
-
Save gcpantazis/7325120 to your computer and use it in GitHub Desktop.
Packaging dependencies (NPM/Bower) for CI and Heroku.
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
| tar -cz -f modules.tar.gz node_modules/ bower_components/ | |
| scp modules.tar.gz [email protected]:/usr/share/www/ci-support | |
| rm modules.tar.gz |
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
| ./restore_dependencies | |
| ./node_modules/.bin/grunt server:production:heroku |
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
| curl http://uesrname:[email protected]/ci-support/modules.tar.gz -o modules.tar.gz | |
| tar xvfz modules.tar.gz | |
| npm rebuild | |
| rm modules.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment