summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-22 08:57:33 -0700
committermo khan <mo@mokhan.ca>2014-02-22 08:57:33 -0700
commit69fa85b4e6184eba33dc40901551fb7f0a57fbbb (patch)
tree382dd68a0182f96aa4bd00283c34f71b4ea7050c
parent7947414c935aa6a20a2de068b343df2a0f141384 (diff)
update deploy script to seed db and add hconsole script to load heroku console.
-rwxr-xr-xbin/deploy.sh1
-rwxr-xr-xbin/hconsole.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/bin/deploy.sh b/bin/deploy.sh
index c7cac2c..06c20da 100755
--- a/bin/deploy.sh
+++ b/bin/deploy.sh
@@ -3,3 +3,4 @@ set -e
git push heroku master
heroku run rake db:migrate
+heroku run rake db:seed
diff --git a/bin/hconsole.sh b/bin/hconsole.sh
new file mode 100755
index 0000000..fb6066f
--- /dev/null
+++ b/bin/hconsole.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+heroku run bin/rails console