Migrating to workers, renaming service
This commit is contained in:
parent
850584ff36
commit
a6cd5f4266
29 changed files with 5542 additions and 611 deletions
26
Makefile
Normal file
26
Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# See http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
|
||||
.PHONY: help
|
||||
help:
|
||||
@echo
|
||||
@echo "Commands:"
|
||||
@grep -E -h '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
@echo
|
||||
@echo "See README.md or https://github.com/udemy/website-django/blob/master/README.md"
|
||||
@echo
|
||||
|
||||
.PHONY: start
|
||||
start: docker-compose-up watch-frontend ## Start containers and watch frontend
|
||||
|
||||
|
||||
.PHONY: migrate
|
||||
migrate: ## Migrate database schema
|
||||
docker-compose run --rm app yarn initdb
|
||||
|
||||
.PHONY: watch-frontend
|
||||
watch-frontend: ## Build and watch frontend for changes
|
||||
docker-compose run --rm app yarn watch-js
|
||||
|
||||
|
||||
.PHONY: docker-compose-up
|
||||
docker-compose-up: ## Start (and create) docker containers
|
||||
docker-compose up -d
|
Loading…
Add table
Add a link
Reference in a new issue