Applications¶
Flask¶
Zenodo application factories.
-
zenodo.factory.
create_api
(**kwargs)¶ Create Flask API application.
-
zenodo.factory.
create_app
(**kwargs)¶ Create Flask UI application.
-
zenodo.factory.
create_celery
(**kwargs)¶ Create CLI/Celery application.
-
zenodo.factory.
instance_path
= '/Users/lnielsen/envs/zenodo/bin/../var/instance'¶ Path to instance folder.
Defaults to
<virtualenv>/var/instance/
. Can be overwritten using the environment variableAPP_INSTANCE_PATH
.
-
zenodo.factory.
static_folder
= '/Users/lnielsen/envs/zenodo/bin/../var/instance/static'¶ Path to static folder.
Defaults to
<virtualenv>/var/instance/static/
. Can be overwritten using the environment variableAPP_STATIC_FOLDER