Write and Compile LaTeX in the browser.
docker run -d --name=styrene -p 8080:8080 quantumsheep/styrene
This procedure requires ~3GB of storage. That's why it isn't included in the original Docker image.
Assuming that your container is named styrene
- Connect to the container's shell:
docker exec -it styrene sh
Once in the container, execute this command:
apk add texmf-dist-full
I used texlive
alpine package to run pdflatex
with all the LaTeX packages needed, which are very large because of all the dependencies and sub packages used.
First, clone the repository to the specified directory and install the required npm
modules.
git clone https://github.com/quantumsheep/styrene
cd styrene
npm install
To start the server, use the start
script.
npm start
Because pictures speak louder than words.