Skip to content

Instantly share code, notes, and snippets.

@ara-ta3
Created July 15, 2017 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ara-ta3/16df1c3ace7004d156df6392a32123f5 to your computer and use it in GitHub Desktop.
Save ara-ta3/16df1c3ace7004d156df6392a32123f5 to your computer and use it in GitHub Desktop.
conf=docker-compose.production.yml
help:
@echo "1st make setup"
@echo "2nd make run"
run: .redash
docker-compose -f $</$(conf) up
setup: .redash
docker-compose -f $</$(conf) run --rm server create_db
stop: .redash
docker-compose -f $</$(conf) stop
docker-compose -f $</$(conf) rm
.redash:
git clone https://github.com/getredash/redash.git $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment