From f948c885bc2de868d1cff738368de945c9b98363 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 10 Feb 2020 08:16:24 +0100 Subject: [PATCH] Add translation-toolkit to Sahana --- lxc-apps/sahana-demo/install.sh | 2 +- lxc-apps/sahana/image | 1 + lxc-apps/sahana/image.d/etc/services.d/.s6-svscan/finish | 0 3 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 lxc-apps/sahana/image.d/etc/services.d/.s6-svscan/finish diff --git a/lxc-apps/sahana-demo/install.sh b/lxc-apps/sahana-demo/install.sh index 0505c48..8c710c6 100755 --- a/lxc-apps/sahana-demo/install.sh +++ b/lxc-apps/sahana-demo/install.sh @@ -61,7 +61,7 @@ spoc-container exec -u sahana sahana-demo -- sh -c 'cd /srv/web2py; ./web2py.py cp update-conf.sh ${VOLUME_DIR}/update-conf.sh # Stop services required for setup -spoc-container stop sahana-postgres +spoc-container stop sahana-demo-postgres # Register application #vmmgr register-app sahana-demo sahana-demo "${SAHANADEMO_ADMIN_USER}" "${SAHANADEMO_ADMIN_PWD}" diff --git a/lxc-apps/sahana/image b/lxc-apps/sahana/image index c2397b6..22fc03e 100644 --- a/lxc-apps/sahana/image +++ b/lxc-apps/sahana/image @@ -26,6 +26,7 @@ RUN EOF sed -i 's/^PyRTF/#PyRTF/' /srv/web2py/applications/eden/optional_requirements.txt # Ceased to exist sed -i 's/^PyYAML/#PyYAML/' /srv/web2py/applications/eden/optional_requirements.txt # Needed for setup pip3 install -r /srv/web2py/applications/eden/optional_requirements.txt + pip3 install translate-toolkit # Copy fonts with Czech glyphs cp /usr/share/fonts/ttf-dejavu/DejaVuSerif-Bold.ttf /srv/web2py/applications/eden/static/fonts/Helvetica-Bold.ttf diff --git a/lxc-apps/sahana/image.d/etc/services.d/.s6-svscan/finish b/lxc-apps/sahana/image.d/etc/services.d/.s6-svscan/finish old mode 100644 new mode 100755