Last active
July 26, 2017 13:38
-
-
Save 2ajoyce/318b359d8b32c7d57bea70b1ea738eb8 to your computer and use it in GitHub Desktop.
Script to serve an Angular2 app from Cloud9 for development testing
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
#!/bin/bash | |
# Usage instructions | |
# `git clone {} scripts/serve` To clone the repo | |
# `chmod +x scripts/serve/serve.sh` To mark the file executable | |
# `./scripts/serve/serve.sh` To run the file | |
ng serve --host 0.0.0.0 --port 8080 --public $C9_HOSTNAME --watch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment