summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorankitjavalkar2017-12-26 16:36:01 +0530
committerankitjavalkar2018-01-04 11:37:21 +0530
commit280216008e6906c8418e29610e3b5b593908e915 (patch)
tree33e57918eceb17326881d22296040e037cb6d10d /docker
parent692c452323d39665191b3934f712e774258e31a1 (diff)
downloadonline_test-280216008e6906c8418e29610e3b5b593908e915.tar.gz
online_test-280216008e6906c8418e29610e3b5b593908e915.tar.bz2
online_test-280216008e6906c8418e29610e3b5b593908e915.zip
Remove makefile
Diffstat (limited to 'docker')
-rw-r--r--docker/Makefile61
1 files changed, 0 insertions, 61 deletions
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