From a1bc8accd38ea76c24f00cc744a55ef81a421424 Mon Sep 17 00:00:00 2001 From: Sergiusz Warga Date: Sun, 17 Oct 2021 13:48:42 +0200 Subject: [PATCH] Updated README with docker-compose instructions --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e120154..d595643 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,12 @@ So far I've managed to create cloze tasks for Pensa and Exercitia for the first # Development -To run the app on your own machine run ```pipenv install``` to install requested packages based on the Pipfile and then run ```pipenv shell 'gunicorn --bind 0.0.0.0:5000 app:app'``` or ```flask run```. \ No newline at end of file +To run the app on your own machine run ```pipenv install``` to install requested packages based on the Pipfile and then run ```pipenv shell 'gunicorn --bind 0.0.0.0:5000 app:app'``` or ```flask run```. + +## Docker-compose + +You may want to know `docker run -p 3200:5000 latin .`. + +To update docker image: +1. Go to `/etc/docker-compose/latin` and run `docker-compose build`. +2. Run `systemctl restart docker-compose@latin`. \ No newline at end of file