From 280216008e6906c8418e29610e3b5b593908e915 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Tue, 26 Dec 2017 16:36:01 +0530 Subject: Remove makefile --- docker/Makefile | 61 --------------------------------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 docker/Makefile (limited to 'docker/Makefile') diff --git a/docker/Makefile b/docker/Makefile deleted file mode 100644 index 9119601..0000000 --- a/docker/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -help: - @echo "Docker Compose Help for Deploying Yaksh interface" - @echo "-----------------------\n" - @echo "Clone yaksh online interface from github :" - @echo " make clone" - @echo "" - @echo "Build docker images:" - @echo " make build" - @echo "" - @echo "To run containers:" - @echo " make start" - @echo "" - @echo "You need to create super a user to work with yaksh:" - @echo " make createsuperuser" - @echo "" - @echo "Now Your interface is ready. You can access it using browser just go to http://localhost:8000" - @echo "" - @echo "Really, really start over:" - @echo " make clean" - @echo "" - @echo "other utilities:restart,tail,status" - -begin: migrate fixtures start - -clone: - @/bin/bash clone-yaksh.sh - -start: - @docker-compose up -d - -stop: - @docker-compose stop - -status: - @docker-compose ps - -restart: stop start - -clean: stop - @docker-compose rm --force - -build: - @docker-compose build --no-cache - @docker pull mariadb:10.2 - -createsuperuser: migrate superuser - -migrate: - @docker exec -it yaksh_django python3 manage.py makemigrations - @docker exec -it yaksh_django python3 manage.py migrate - -superuser: - @docker exec -it yaksh_django python3 manage.py createsuperuser - @docker exec -it yaksh_django python3 manage.py add_group - @docker exec -it yaksh_django python3 manage.py collectstatic - @echo "You can access it using browser, just go to http://localhost:8000" - -tail: - @docker-compose logs -f - -.PHONY: start stop status restart clean build migrate tail clone superuser createsuperuser -- cgit