ba-letter/README.md
2024-01-08 13:33:00 +00:00

36 lines
828 B
Markdown

# ba-letter
Repository containing the latex source for the bachelor's thesis letter.
After cloning, make sure to initialize the submodules containing the dependencies:
```bash
$ git submodule update --init
```
## Build
### Build on host
For a list of dependencies consult one of the dockerfiles in the `dockerfiles` directory. Build document:
```bash
$ make
```
After compiling, the PDF can be found in the `build` directory.
### Build using docker
Be warned that `texlive` installations can take some time.
Building the docker image may take a few minutes.
1. Build docker image
```bash
$ docker build -f dockerfiles/Dockerfile.alpine . -t ba-letter
```
2. Build document
```bash
$ docker run --rm -v $PWD:$PWD -w $PWD -u `id -u`:`id -g` ba-letter make
```