aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorHarald Eilertsen <hareiler@cisco.com>2013-01-28 17:34:49 +0100
committerHarald Eilertsen <hareiler@cisco.com>2013-01-28 17:34:49 +0100
commit67a26cf042d6431e364bb85675f788e780b4f651 (patch)
tree0c4e98a988e2056ed4588e6c2d899288a1b9e879 /script
parent996deb2d68baff186f8d0f521cd53cdb1f391949 (diff)
downloadhmnoweb-67a26cf042d6431e364bb85675f788e780b4f651.tar.gz
hmnoweb-67a26cf042d6431e364bb85675f788e780b4f651.tar.bz2
hmnoweb-67a26cf042d6431e364bb85675f788e780b4f651.zip
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.
Diffstat (limited to 'script')
-rwxr-xr-xscript/setup6
1 files changed, 6 insertions, 0 deletions
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