aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/web/bench/management/commands/importstatic.py
diff options
context:
space:
mode:
authorakhilbatra898 <akhil.batra@research.iiit.ac.in>2017-08-08 23:09:51 +0530
committerakhilbatra898 <akhil.batra@research.iiit.ac.in>2017-08-15 20:55:35 +0530
commit2364c5886b6e4fa34355d0e300ebd9aae0ba8ffc (patch)
tree8accc55ba5764a4bf9f32fae6ca43cbfa8955071 /qtip/web/bench/management/commands/importstatic.py
parent8c1e9c553cc6b4b8b78c31e7f5f48836c0d945e1 (diff)
Add basic ui
- Repos Listing - Creation and updation - Running Benchmarking - Listed and detailed view of logs - Add django management command to import frontend dependencies Change-Id: If6f7dbc1fc18b022d9dda7a76f76dfee1c110450 Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
Diffstat (limited to 'qtip/web/bench/management/commands/importstatic.py')
-rw-r--r--qtip/web/bench/management/commands/importstatic.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/qtip/web/bench/management/commands/importstatic.py b/qtip/web/bench/management/commands/importstatic.py
new file mode 100644
index 00000000..471faf8b
--- /dev/null
+++ b/qtip/web/bench/management/commands/importstatic.py
@@ -0,0 +1,10 @@
+import os
+
+from django.core.management.base import BaseCommand
+
+
+class Command(BaseCommand):
+ help = 'Import frontend dependencies for serving as static files'
+
+ def handle(self, *args, **options):
+ os.system("git clone https://github.com/gurayyarar/AdminBSBMaterialDesign.git bench/static/")