Installation¶
If you would like to run the service locally, there are multiple ways. It is like installing any flask app.
Requirements¶
Requiremets are flask and python to run. The explicit depedencies are listed in requirements.txt
Dockerfile¶
You would need to install docker.
docker pull ja1chaudhary/pig-latin-translation-service
docker run --name pig-latin-service -p 8000:8000 -d ja1chaudhary/pig-latin-translation-service
Source¶
To install from source
git clone https://github.com/Jai-Chaudhary/pig-latin-translation-microservice
cd pig-latin-translation-microservice
python setup.py install
python run.py
Testing¶
To run test cases, simply do
python tests.py
The travis code integration config automatically runs those tests on updates to master branch