diff --git a/README.md b/README.md index f9a0a6d..ede3340 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,12 @@ Installs a bunch of scripts into the `scripts` directory of your project: * `gemfile` which switches between `Gemfile.erb` environments * `install-git-hooks` which will do just what it says * `hooks/pre-commit`, one of the hooks the prior script installs -* `initialize-environment`, which bootstraps your locak environment so you can get up and running +* `initialize-environment`, which bootstraps your local environment so you can get up and running + +## initialize-environment + +It will also try to run `rake bootstrap`, so add a `:bootstrap` task for things that should happen when you start going +(make databases, other stuff, etc, whatever). ## Gemfile.erb?! diff --git a/template/script/initialize-environment b/template/script/initialize-environment index 5b6d1ae..a702166 100755 --- a/template/script/initialize-environment +++ b/template/script/initialize-environment @@ -22,5 +22,8 @@ end puts "Installing git hooks" system %{script/install-git-hooks} +puts "Trying to run rake bootstrap..." +system %{rake bootstrap} + puts "Done!"