Added build scripts.

This commit is contained in:
Bokuan Li
2025-12-21 01:45:21 -05:00
parent aab09f84f1
commit ceabf78b0e
3 changed files with 10 additions and 0 deletions

6
build.sh Normal file
View File

@@ -0,0 +1,6 @@
rm -r ./document
python3 tagger.py >> tags
plastex --renderer=Gerby ./document.tex
cd ./gerby-website/gerby/tools
python3 update.py
cd ../../..

View File

@@ -1,5 +1,6 @@
\documentclass{report} \documentclass{report}
\usepackage{amssymb, amsmath, hyperref} \usepackage{amssymb, amsmath, hyperref}
\usepackage{preamble}
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{theorem}[subsection]{Theorem} \newtheorem{theorem}[subsection]{Theorem}

3
serve.sh Normal file
View File

@@ -0,0 +1,3 @@
cd gerby-website
export FLASK_APP=gerby
python3 -m flask run