initial
This commit is contained in:
commit
c602d0bf8d
32 changed files with 1193 additions and 0 deletions
40
Makefile
Normal file
40
Makefile
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
.DEFAULT_GOAL = default
|
||||
SCRIPT = contrib/scripts/make_scripts.sh
|
||||
|
||||
## @ env
|
||||
.PHONY: env
|
||||
env: ## creates a .env file
|
||||
@./${SCRIPT} make_env_file
|
||||
|
||||
## @ task
|
||||
.PHONY: check run shell_plus clear_migrations show_migrations migrations migrate elements
|
||||
check: ## same as manage.py check
|
||||
@./${SCRIPT} check
|
||||
|
||||
run: ## same as manage.py run server
|
||||
@./${SCRIPT} run
|
||||
|
||||
shell_plus: ## same as .manage.py shell_plus
|
||||
@./${SCRIPT} shell_plus
|
||||
|
||||
clear_migrations: ## same as manage.py showmigrations
|
||||
@./${SCRIPT} show_migrations
|
||||
|
||||
show_migrations: ## same as manage.py showmigrations
|
||||
@./${SCRIPT} show_migrations
|
||||
|
||||
migrations: ## same as manage.py makemigrations
|
||||
@./${SCRIPT} migrations
|
||||
|
||||
migrate: ## same as manage.py migrate
|
||||
@./${SCRIPT} migrate
|
||||
|
||||
elements: ## create initial app elements
|
||||
@./${SCRIPT} elements
|
||||
|
||||
## @ help
|
||||
.PHONY: help
|
||||
help: ## display all make commands
|
||||
@./${SCRIPT} help $(MAKEFILE_LIST)
|
||||
|
||||
default: help
|
||||
Loading…
Add table
Add a link
Reference in a new issue