Skip to content

luafran/tornado-service

Repository files navigation

Tornado Skeleton Service

Skeleton for web services implemented using tornado.

Clone this repo.

Install OS dependencies. (May be some dependency is missing since setup.sh was not tested in a clean environment yet)

$ sudo ./install_os_dependencies.sh

Generate environments

$ tox -r

Run service using tox

$ tox -e runservice

Send a request to service health

$ curl --proxy '' 'http://localhost:10001/health?include_details=true' 

Build docker image

$ sudo docker build -t quay.io/luafran/tornado-service . 

Run docker image

$ sudo docker run -p 10001:10001 -d -e MFS_ENV=test --name tornado-service quay.io/luafran/tornado-service

About

Base for building Tornado services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published