mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
90f0b3b49a
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.
21 lines
325 B
Bash
Executable File
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 |