Task to work with devserver
Render and update invenio-devserver configuration
The task will look for the template config_local.py.tpl, and render and write it to config_local.py in the virtual environments site-packages.
The invenio-devserver install two commands:
- serve - Invenio development server based on Werkzeug.
- mailserve - Debug mail server which will print all emails to the console.
Note
The invenio-devserver works with the non-Flask based versions of Invenio. Also, the invenio-devserver is only installed if env.WITH_DEVSERVER is True.
See also
See also invenio-devserver for further information on the content of config_local.py.tpl: https://bitbucket.org/osso/invenio-devserver
Install a Flask devserver
The task will look for the template rundevserver.py.tpl, render it and write it to bin/rundevserver.py.
To start the Flask development server, run:
(venv)$ rundevserver.py
Note
rundevserver.py only works with Flask based versions of Invenio.