Add translation-toolkit to Sahana
This commit is contained in:
parent
473dd4af61
commit
f948c885bc
@ -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
|
cp update-conf.sh ${VOLUME_DIR}/update-conf.sh
|
||||||
|
|
||||||
# Stop services required for setup
|
# Stop services required for setup
|
||||||
spoc-container stop sahana-postgres
|
spoc-container stop sahana-demo-postgres
|
||||||
|
|
||||||
# Register application
|
# Register application
|
||||||
#vmmgr register-app sahana-demo sahana-demo "${SAHANADEMO_ADMIN_USER}" "${SAHANADEMO_ADMIN_PWD}"
|
#vmmgr register-app sahana-demo sahana-demo "${SAHANADEMO_ADMIN_USER}" "${SAHANADEMO_ADMIN_PWD}"
|
||||||
|
@ -26,6 +26,7 @@ RUN EOF
|
|||||||
sed -i 's/^PyRTF/#PyRTF/' /srv/web2py/applications/eden/optional_requirements.txt # Ceased to exist
|
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
|
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 -r /srv/web2py/applications/eden/optional_requirements.txt
|
||||||
|
pip3 install translate-toolkit
|
||||||
|
|
||||||
# Copy fonts with Czech glyphs
|
# Copy fonts with Czech glyphs
|
||||||
cp /usr/share/fonts/ttf-dejavu/DejaVuSerif-Bold.ttf /srv/web2py/applications/eden/static/fonts/Helvetica-Bold.ttf
|
cp /usr/share/fonts/ttf-dejavu/DejaVuSerif-Bold.ttf /srv/web2py/applications/eden/static/fonts/Helvetica-Bold.ttf
|
||||||
|
0
lxc-apps/sahana/image.d/etc/services.d/.s6-svscan/finish
Normal file → Executable file
0
lxc-apps/sahana/image.d/etc/services.d/.s6-svscan/finish
Normal file → Executable file
Loading…
Reference in New Issue
Block a user