Creating the project bootstrap
This commit is contained in:
20
Makefile
Normal file
20
Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
all: help
|
||||
|
||||
help:
|
||||
@echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
|
||||
@echo "ℹ️ Available commands ℹ️"
|
||||
@echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
|
||||
@echo "⭐️ help : Show this message"
|
||||
@echo "⭐️ clean : Removes all python cache and temporary files"
|
||||
@echo "⭐️ run : Runs the application using docker-compose"
|
||||
@echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
|
||||
|
||||
clean:
|
||||
@find . -name '*.pyc' -exec rm -f {} +
|
||||
@find . -name '*.pyo' -exec rm -f {} +
|
||||
@find . -name '*~' -exec rm -f {} +
|
||||
@find . -name '__pycache__' -exec rm -fr {} +
|
||||
|
||||
|
||||
run:
|
||||
@docker-compose up
|
||||
Reference in New Issue
Block a user