added install script

This commit is contained in:
Nick Nisi
2012-05-04 15:40:40 -05:00
parent 87cdc880d1
commit 72e47a7ad7
2 changed files with 30 additions and 0 deletions

View File

@@ -15,6 +15,12 @@ These are my dotfiles, which contain my custom system configuration preferences.
The organization of this project is similar to [Zach Holman's ](http://github.com/holman/dotfiles) setup.
### Automatic Installation
wget
### Manual Installation
#### Clone
First, clone the repository to your home directory and name it ".dotfiles"
@@ -24,6 +30,13 @@ First, clone the repository to your home directory and name it ".dotfiles"
Then cd into that directory
cd ~/.dotfiles
#### Init Submodules
The vim configuration relies on a couple of vim plugins, which are loaded in as git submodules.
git submodule init
git submodule update
#### Backup

17
install.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
# clone the repository
git clone git@github.com:nicknisi/dotfiles.git ~/.dotfiles
# cd into directory
cd ~/.dotfiles
# initialize submodules
git submodule init
git submodule update
# backup existing configuration
rake backup
# run the install
rake install