summaryrefslogtreecommitdiffstats
path: root/docker/set_up_agl-demo-control-panel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/set_up_agl-demo-control-panel.sh')
-rwxr-xr-xdocker/set_up_agl-demo-control-panel.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/set_up_agl-demo-control-panel.sh b/docker/set_up_agl-demo-control-panel.sh
new file mode 100755
index 0000000..977c8ea
--- /dev/null
+++ b/docker/set_up_agl-demo-control-panel.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Disable the package proxy.
+export http_proxy=""
+export https_proxy=""
+
+# Clone AGL Demo Control Panel
+cd /opt
+http_proxy="" https_proxy="" git clone "https://gerrit.automotivelinux.org/gerrit/src/agl-demo-control-panel"
+cd agl-demo-control-panel
+
+# We do not need to install all the requirements.
+cp requirements.txt requirements_small.txt
+sed -i 's/pyqt5/#pyqt5/g' requirements_small.txt
+cat requirements_small.txt
+pip3 install --break-system-packages -r requirements_small.txt
+pyrcc5 assets/res.qrc -o res_rc.py \ No newline at end of file