Updated README with docker-compose instructions
This commit is contained in:
parent
747d9ea875
commit
a1bc8accd3
10
README.md
10
README.md
@ -22,4 +22,12 @@ So far I've managed to create cloze tasks for Pensa and Exercitia for the first
|
|||||||
|
|
||||||
# Development
|
# 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```.
|
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`.
|
Loading…
Reference in New Issue
Block a user