I have now fixed it by doing it manually after checking this repo. But it feels dangerous.
- Why is 3.7 not listed on the docs?
- Will this trick continue to work in the future?
source /opt/buildhome/python3.7/bin/activate
pip install -r requirements.txt
npm install purgecss uglifycss
python3 automate.py populate-html
./node_modules/.bin/purgecss --css css/tailwind.min.css css/bootstrap.min.css --content src/*.html --out src
./node_modules/.bin/uglifycss src/tailwind.min.css src/bootstrap.min.css > src/style.css
Context; automate.py
is a command line app that contains populate-html
as a command.