From 72e47a7ad75f276af87aeab428caccbbc4a16e51 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Fri, 4 May 2012 15:40:40 -0500 Subject: [PATCH] added install script --- README.md | 13 +++++++++++++ install.sh | 17 +++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 install.sh diff --git a/README.md b/README.md index d77f9f2..6b38854 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..847f7ec --- /dev/null +++ b/install.sh @@ -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