Explorar el Código

Add basic instructions for running in a container.

Stefano Cossu hace 1 año
padre
commit
667f17a15b
Se han modificado 1 ficheros con 25 adiciones y 1 borrados
  1. 25 1
      README.md

+ 25 - 1
README.md

@@ -1 +1,25 @@
-# transliterator
+# transliterator
+
+REST API service to convert non-Latin scripts to Latin, and vice versa.
+
+## Run on Docker
+
+Build container in current dir:
+
+```
+docker build -t transliterator:latest .
+```
+
+Start container:
+
+```
+docker run -e TXL_FLASK_SECRET=changeme -p 8000:8000 transliterator:latest
+```
+
+Test service:
+
+```
+curl localhost:8000/health
+```
+
+TODO: API endpoints are stubs at the moment.