Deployment
To deploy your NeRV app, you can utilize Gunicorn. Simply follow the instructions outlined in the Dash documentation here, making the necessary adjustment in the app.py module content:
app.py
from nerv import app
server = app.start("path-to-data-directory", False)
Note
When the local
parameter of the start
function is set to False
, it will return the app.server
object. This object represents the underlying Flask server that drives the Dash application. app.server
object can be utilized to customize and extend the NeRV application, going beyond the default functionality offered. For more details, refer to the Flask documentation.
For a demonstration, please refer to nerv-demo.