Initial commit

This commit is contained in:
andyeisenberg
2025-12-01 09:27:40 -05:00
committed by GitHub
commit a6bd475da4
8 changed files with 338 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/env bash
# This file was automatically generated with PreTeXt 2.19.3.
# If you modify this file, PreTeXt will no longer automatically update it.
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
python3-louis \
libcairo2-dev \
librsvg2-bin
pip install --upgrade pip --break-system-packages
pip install pretext[homepage,prefigure] pycairo --only-binary {greenlet} --break-system-packages
pip install codechat-server --break-system-packages
playwright install-deps
playwright install
# echo '/usr/lib/python3/dist-packages' > /usr/local/lib/python3.8/dist-packages/louis.pth
prefig init
# Install mermaid for diagrams
npm install -g @mermaid-js/mermaid-cli
echo "PreTeXt installation complete."