Created
June 30, 2013 09:59
-
-
Save whistler/5894586 to your computer and use it in GitHub Desktop.
This script installs nodejs, coffeescript and git on an Ubuntu machine.
Configures git to use with Github and clones a repository with a node
project and installs its dependencies.
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
# This script installs nodejs, coffeescript and git on an Ubuntu machine. | |
# Configures git to use with Github and clones a repository with a node | |
# project and installs its dependencies. | |
# 30 Jun 2013 | |
# Ibrahim Muhammad | |
# http://ibrahimmuhammad.com | |
# install node prereqs | |
sudo apt-get install python-software-properties python g++ make | |
# install node | |
wget http://nodejs.org/dist/v0.10.12/node-v0.10.12.tar.gz | |
tar xzvf node-v0.10.12.tar.gz | |
cd node-v0.10.12/ | |
./configure | |
make | |
sudo make install | |
# install coffee-script | |
sudo npm -g install coffee-script | |
# install sublime | |
sudo add-apt-repository ppa:webupd8team/sublime-text-2 | |
sudo apt-get update | |
sudo apt-get install sublime-text | |
# set up git | |
sudo apt-get install git | |
git config --global user.name "(github_username)" | |
git config --global user.email "([email protected])" | |
git config --global credential.helper cache | |
git config --global credential.helper 'cache --timeout=36000' | |
# get repository | |
git clone (repository_url) | |
cd (repository_name) | |
sudo npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment