Created
March 6, 2018 16:26
-
-
Save rjmacarthy/36457e03a7455251a8d9ed1b62c12044 to your computer and use it in GitHub Desktop.
Start angular4 app with Jenkins and expose port
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
#!/bin/bash | |
pm2 stop angular4 | |
. ~/.nvm/nvm.sh | |
nvm use 9.7.1 | |
npm install | |
pm2 start start.sh --name angular4 |
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
ng serve --host xxx.xxx.xxx.xxx --port xxxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment