Created
November 12, 2015 21:58
-
-
Save jacopotarantino/a2858eb4a04db547fe55 to your computer and use it in GitHub Desktop.
quick deploy an angular app to surge
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 | |
# test script to install and deploy a test application to surge.sh | |
# make sure node is up to date | |
brew update | |
brew upgrade node | |
# install node-based dependencies | |
npm install -g grunt-cli bower yo generator-karma generator-angular surge | |
# install ruby deps | |
gem install compass | |
# create a new test directory | |
cd | |
mkdir test_angular_app && cd $_ | |
# scaffold the application | |
yo angular my-test-app | |
npm install karma jasmine-core phantomjs | |
# run tests | |
#deploy to surge | |
surge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment