From 67a26cf042d6431e364bb85675f788e780b4f651 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 28 Jan 2013 17:34:49 +0100 Subject: Create development setup script. Runs bundle install, creates database config and loads the database schema and initial seed. Should probably be made smarter in the end, but for now we'll try to get by with this. --- script/setup | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 script/setup (limited to 'script') diff --git a/script/setup b/script/setup new file mode 100755 index 0000000..e81eacf --- /dev/null +++ b/script/setup @@ -0,0 +1,6 @@ +#!/bin/bash +bundle install + +if [ $? ]; then + bundle exec rake dev:setup +fi -- cgit v1.2.3