Skip to content

Instantly share code, notes, and snippets.

@jalalhejazi
Created April 18, 2013 08:39
Show Gist options
  • Save jalalhejazi/5411210 to your computer and use it in GitHub Desktop.
Save jalalhejazi/5411210 to your computer and use it in GitHub Desktop.
Install: $ sh install_dependencies.sh
# Download application dependency on the following components:
# * jQuery
# * JSrender (JavaScript Template Rendering for jQuery)
# * JSO (JavaScript OAuth 2 client)
# * Bootstrap CSS
# It can easily be installed by running the following script:
# $ sh install_dependencies.sh
###################################################################
# This is the shell Script file: install_dependencies.sh
rm -rf external_lib
mkdir -p external_lib/js
mkdir -p external_lib/bootstrap
# jQuery
curl -L -o external_lib/js/jquery.js http://code.jquery.com/jquery.min.js
# JSrender (JavaScript Template Rendering for jQuery)
curl -L -o external_lib/js/jsrender.js https://raw.github.com/BorisMoore/jsrender/master/jsrender.js
# JSO (JavaScript OAuth 2 client)
curl -L -o external_lib/js/jso.js https://raw.github.com/andreassolberg/jso/master/jso.js
# Bootstrap
curl -L -o external_lib/bootstrap.zip http://twitter.github.io/bootstrap/assets/bootstrap.zip
(cd external_lib/ && unzip bootstrap.zip && rm bootstrap.zip)
###################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment