Development server¶
Task to work with devserver
-
inveniofab.devserver.
devserver_conf
¶ Render and update invenio-devserver configuration
The task will look for the template
config_local.py.tpl
, and render and write it toconfig_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
isTrue
.See also
See also invenio-devserver for further information on the content of
config_local.py.tpl
: https://bitbucket.org/osso/invenio-devserver
-
inveniofab.devserver.
devserver_install_flask
¶ Install a Flask devserver
The task will look for the template
rundevserver.py.tpl
, render it and write it tobin/rundevserver.py
.To start the Flask development server, run:
(venv)$ rundevserver.py
Note
rundevserver.py
only works with Flask based versions of Invenio.