Skip to content
Snippets Groups Projects
Sandra Derozier's avatar
#16 - Add names to URLs in the returned object
Sandra Derozier authored
001659a4
History

Omnicrobe Web interfaces

Python Flask Flask_restx Psycopg2

Source code

$ git clone git@forgemia.inra.fr:omnicrobe/omnicrobe_web.git

How to run Omnicrobe?

Configuration file

Before running the Omnicrobe application, it is necessary to modify the config.yaml configuration file with database connection information.

Execution environment

$ python3 -m venv venv

$ . venv/bin/activate

$ pip install Flask
$ pip install psycopg2
$ pip install flask-restx

$ export FLASK_APP=__init__.py
$ export FLASK_ENV=development

Workflow execution

$ flask run