Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Omnicrobe Web interfaces
[](https://www.python.org/)
[](https://flask.palletsprojects.com/en/2.0.x/quickstart/)
[](https://flask-restx.readthedocs.io/en/latest/)
[](https://pypi.org/project/psycopg2/)
## Source code
```bash
$ 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
```bash
$ 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
```bash
$ flask run
```