summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorankitjavalkar2017-12-29 16:49:21 +0530
committerankitjavalkar2018-01-04 11:37:21 +0530
commitc873adbf3bf94564dbc64ff3bced722dabc6fdc3 (patch)
tree29d731e14133242b99fde29ab9008cd6a57dbd70 /tasks.py
parent9a67cce12061fe63b526fdfbe03a03f6e859a044 (diff)
downloadonline_test-c873adbf3bf94564dbc64ff3bced722dabc6fdc3.tar.gz
online_test-c873adbf3bf94564dbc64ff3bced722dabc6fdc3.tar.bz2
online_test-c873adbf3bf94564dbc64ff3bced722dabc6fdc3.zip
Change README and tasks.py
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/tasks.py b/tasks.py
index ac2721a..5e7295a 100644
--- a/tasks.py
+++ b/tasks.py
@@ -217,22 +217,6 @@ def deploy(ctx, fixtures=False):
print ("** Done! Set up static assets **")
@task
-def createsuperuser(ctx):
- run_as_cmd = run_as(OS_NAME)
-
- base_su_cmd = "docker exec -it yaksh_django python3 manage.py createsuperuser"
- cmd = get_cmd(run_as_cmd, base_su_cmd)
- print ("** Creating Superuser **")
- ctx.run(cmd)
- print ("** Done! Created Superuser **")
-
- base_mod_cmd = "docker exec -i yaksh_django python3 manage.py add_group"
- cmd = get_cmd(run_as_cmd, base_mod_cmd)
- print ("** Creating Moderator group **")
- ctx.run(cmd)
- print ("** Done! Created Moderator group **")
-
-@task
def halt(ctx):
run_as_cmd = run_as(OS_NAME)
base_cmd = "docker-compose stop"