render with docker

This commit is contained in:
Kenny Coyle 2018-04-14 18:35:53 +01:00
parent dfd09213ac
commit fb92666b26
2 changed files with 20 additions and 0 deletions

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM ubuntu:xenial
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get install -y python3 python3-pip python3-lxml python3-cssutils libxml2-dev libxslt1-dev inkscape libav-tools
RUN apt-get install -y zlib1g-dev
ADD . /app
WORKDIR /app
RUN pip3 install -r requirements.txt

View file

@ -161,6 +161,15 @@ Save your file as `artwork/overlay.svg`
When you're done, call `./make-overlay.sh yourproject/` which will generate three .pngs in your artwork directory. One of them looks squeezed - don't worry, that is correct. When you're done, call `./make-overlay.sh yourproject/` which will generate three .pngs in your artwork directory. One of them looks squeezed - don't worry, that is correct.
Running with Docker
-------------------
If you're looking to run the intro-outro-generator on an unsupported platform (mac, windows, etc), it is possible to use docker to generate and render the intros and outros:
```bash
docker build -t introoutro .
docker run -v {eventName}:/app/{eventName} -i -t introoutro ./make.py {eventName} --debug
```
It works! It doesn't work! It works! It doesn't work!
-------------------------- --------------------------
If it works, push your code to github. This way everybody can see which beautiful animations you created and we can all learn from each other. If it works, push your code to github. This way everybody can see which beautiful animations you created and we can all learn from each other.