Install lektor with pip and venv
This commit is contained in:
parent
37fe247c94
commit
b9f9642772
|
@ -3,9 +3,10 @@ pipeline:
|
||||||
image: python:3.8-bullseye
|
image: python:3.8-bullseye
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y git ca-certificates gettext wget python3-pip python3-babel
|
- apt-get install -y git gettext python3-pip python3-venv python3-babel
|
||||||
- wget https://gitlab.torproject.org/tpo/tpa/ci-templates/-/raw/main/lektor-requirements.txt -O requirements.txt
|
- virtualenv venv
|
||||||
- python3 -m pip install --require-hashes -r requirements.txt
|
- . venv/bin/activate
|
||||||
|
- pip install Lektor
|
||||||
- rm -rf i18n
|
- rm -rf i18n
|
||||||
- git clone https://lab.encryptionin.space/Queerscriptors/weblate-website.git i18n
|
- git clone https://lab.encryptionin.space/Queerscriptors/weblate-website.git i18n
|
||||||
- lektor plugin reinstall
|
- lektor plugin reinstall
|
||||||
|
|
Loading…
Reference in a new issue