Explorar o código

Add basic instructions for running in a container.

Stefano Cossu %!s(int64=2) %!d(string=hai) anos
pai
achega
667f17a15b
Modificáronse 1 ficheiros con 25 adicións e 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.