Closed moriarty closed 3 years ago
Missing packages was a big burden, so LatexOnline migrated over to official texlive distributions.
The new https://texlive2020.latexonline.cc should support everything
Is the production env of
not running a docker image based on Dockerfile?
It does! Sometimes the deployment lags slightly behind though.
Is there need for two version endpoints? one latexonline.cc/version and latexonline.cc/env-version
It's hard to version environments though, so hopefully it won't be needed anymore with the texlive2020 environment.
First- thanks again for the useful package and https://latexonline.cc
Problem
Our project isn't compiling because of an missing dependency. But cloning looking into this repo seems like it should be okay and pulling from docker and running locally it works fine.
https://latexonline.cc/compile?git=git%3A%2F%2Fgithub.com%2FRoboCupAtHome%2FRuleBook.git&target=Rulebook.tex
Trying to diagnose
what provides
doclicense.sty
?check
Dockerfile
yep it's there:https://github.com/aslushnikov/latex-online/blob/3f387ab96afde24c295a1f7eb4541034ee8ca6b3/Dockerfile#L24
Check the version https://latexonline.cc/version says it's running master #54 which AFAIK comes from https://github.com/aslushnikov/latex-online/blob/3f387ab96afde24c295a1f7eb4541034ee8ca6b3/util/docker-entrypoint.sh#L12
https://github.com/aslushnikov/latex-online/blob/3f387ab96afde24c295a1f7eb4541034ee8ca6b3/app.js#L90-L95
pull the latest image
checked inside container
docker run -it aslushnikov/latex-online:latest bash
ifdocklicense.sty
existsrun the container
docker run -d -p 2700:2700 -t aslushnikov/latex-online
and visit http://localhost:2700/compile?git=git://github.com/RoboCupAtHome/RuleBook.git&target=Rulebook.tex The project compiles fineQuestions
Dockerfile
?version
endpoints? onelatexonline.cc/version
andlatexonline.cc/env-version