Skip to content

Run as a REST Web Service

Pradeep Bashyal edited this page Oct 2, 2023 · 1 revision

py-ard REST Web Service

Run py-ard as a service so that it can be accessed as a REST service endpoint.

To start in debug mode, you can run the app.py script. The endpoint should then be available at localhost:8080

$ python app.py
 * Serving Flask app 'app'
 * Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:8080
 * Running on http://10.0.1.37:8080
Press CTRL+C to quit