Lime Webserver¶
Lime Web Server is an application that can host any of the packages that implement web server endpoints.
Any python package that registers that it implements registration of web service endpoints, will automatically be made available when Lime Web Server is run.
Installation¶
Set up a virtual env¶
$ virtualenv venv
$ venv\Scripts\activate # On windows
$ . ./venv/bin/activate # On Linux
Install lime-webserver¶
$ pip install lime-webserver
Install a library that exposes endpoints¶
$ pip install lime-core-api
Run¶
$ lime-webserver
Installing as a Service¶
On Windows¶
$ lime-webserver install
More options are available. Run the following to see them:
$ lime-webserver -h
On Linux¶
On Linux environments you can use something like start-stop-deamon
.