redash/bin/vagrant_ctl.sh
Ama Asare 90f0b3b49a Ama: Consolidate vagrant_provision script, move files to more intuitive locations, include command from #1021.
Also reset circle.yml to be as in the main redash repo so our changes are not included in the changeset
Check earlier PR https://github.com/getredash/redash/pull/1027 to follow conversation.
2016-05-09 17:13:33 -05:00

21 lines
325 B
Bash
Executable File

#!/bin/bash
set -e
help() {
echo "Usage: "
echo "`basename "$0"` {start, test}"
}
case "$1" in
start)
vagrant up
vagrant ssh -c "cd /opt/redash/current; bin/run honcho start -f Procfile.dev;"
;;
test)
vagrant up
vagrant ssh -c "cd /opt/redash/current; make test"
;;
*)
help
;;
esac