translated: Random Creations
A web-page that shows recycled #art
- Create yourself a folder
app/media
andapp/art
. - Put a lot of images in
media
and give the program read access. - Give the program write access to output.
- Install python requirements:
pip install requirements.txt
- To run it, go into
app
andpython main.py
- Visit
localhost:5000
to view it!
- Build it:
docker build -t willekeurigecreaties .
- Run it:
docker run --rm --name willekeurigecreaties -v $(pwd)/media:/app/media -v $(pwd)/art:/app/art -p 80:5000 willekeurigecreaties