Add translation-toolkit to Sahana

This commit is contained in:
Disassembler 2020-02-10 08:16:24 +01:00
parent 473dd4af61
commit f948c885bc
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
3 changed files with 2 additions and 1 deletions

View File

@ -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}"

View File

@ -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

View File