Install lektor with pip and venv

This commit is contained in:
HackerNCoder 2022-08-27 13:46:34 +02:00
parent 37fe247c94
commit b9f9642772

View file

@ -3,9 +3,10 @@ pipeline:
image: python:3.8-bullseye
commands:
- apt-get update
- apt-get install -y git ca-certificates gettext wget python3-pip python3-babel
- wget https://gitlab.torproject.org/tpo/tpa/ci-templates/-/raw/main/lektor-requirements.txt -O requirements.txt
- python3 -m pip install --require-hashes -r requirements.txt
- apt-get install -y git gettext python3-pip python3-venv python3-babel
- virtualenv venv
- . venv/bin/activate
- pip install Lektor
- rm -rf i18n
- git clone https://lab.encryptionin.space/Queerscriptors/weblate-website.git i18n
- lektor plugin reinstall