Skip to content
Snippets Groups Projects
Commit 6eee458d authored by drebs's avatar drebs
Browse files

Run weblate using py3.

parent b404d753
Branches
No related tags found
No related merge requests found
...@@ -59,6 +59,12 @@ COPY weblate/settings_proposed_2.10.1.py /var/lib/weblate/config/settings.py ...@@ -59,6 +59,12 @@ COPY weblate/settings_proposed_2.10.1.py /var/lib/weblate/config/settings.py
RUN mkdir -p /var/lib/weblate/config RUN mkdir -p /var/lib/weblate/config
COPY apache/apache-vhost.conf /var/lib/weblate/config/apache-vhost.conf COPY apache/apache-vhost.conf /var/lib/weblate/config/apache-vhost.conf
# set python3 as default
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
# enable wsgi
RUN a2enmod wsgi
# Install Weblate # Install Weblate
RUN /usr/local/sbin/weblate-setup-env.sh; /usr/local/sbin/weblate-install.sh RUN /usr/local/sbin/weblate-setup-env.sh; /usr/local/sbin/weblate-install.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment