Command lines

  1. Creates an falcon application and starts it through a wsgi application

Creates an falcon application and starts it through a wsgi application

Creates an

System Message: INFO/1 (c:\jenkins\pymy\lightmlrestapi\lightmlrestapi_UT_37_std\_doc\sphinxdoc\source\lightmlrestapi\cli\make_ml_app.py:docstring of lightmlrestapi.cli.make_ml_app.start_mlrestapi, line 21); backlink

Duplicate explicit target name: “falcon”.
falcon application and starts it through a

System Message: INFO/1 (c:\jenkins\pymy\lightmlrestapi\lightmlrestapi_UT_37_std\_doc\sphinxdoc\source\lightmlrestapi\cli\make_ml_app.py:docstring of lightmlrestapi.cli.make_ml_app.start_mlrestapi, line 21); backlink

Duplicate explicit target name: “wsgi”.
wsgi server.

start_mlrestapi –help

usage: start_mlrestapi [-h] [-n NAME] [-ho HOST] [-p PORT] [-no NOSTART]
                       [-w WSGI] [-o OPTIONS] [-s SECRET]

Creates an falcon application and runs it through a wsgi server. Only waitress
is implemented right now. Other option such as mod_wsgi with Apache. uwsgi
could be also be implemented. could be added in the future. The command line
can be tested with a dummy application (``app_name='dummy'``).

optional arguments:
  -h, --help            show this help message and exit
  -n NAME, --name NAME  class name or filename which defines the application
                        (default: dummy)
  -ho HOST, --host HOST
                        host (default: 127.0.0.1)
  -p PORT, --port PORT  port (default: 8081)
  -no NOSTART, --nostart NOSTART
                        do not start the wsgi server (default: False)
  -w WSGI, --wsgi WSGI  wsgi framework which runs the falcon application
                        (default: waitress)
  -o OPTIONS, --options OPTIONS
                        additional options as a string (depends on the
                        application) (default: )
  -s SECRET, --secret SECRET
                        secret used to encrypt the logging, logging is
                        disabled without the secret (default: )

( : make_ml_app.py:docstring of lightmlrestapi.cli.make_ml_app._start_mlrestapi, line 6)