mirror of
https://github.com/valitydev/redash.git
synced 2024-11-08 09:53:59 +00:00
21 lines
325 B
Bash
21 lines
325 B
Bash
|
#!/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
|