diff --git a/README.md b/README.md index 09182b1..7f71633 100644 --- a/README.md +++ b/README.md @@ -5,20 +5,24 @@ SPDX-FileContributor: Marcellino Palerme SPDX-License-Identifier: MIT --> -# EP2M2 : Metabolomic Target Analyzes Manager. +# EP2M2 : Metabolomic Target Analyzes Manager ## Version -__0.3.1__ + +0.3.1 ## Reuse compliance +
[![Reuse compliant](./badges/reuse_compliant.svg)](https://github.com/p2m2/EP2M2/actions/runs/12184248000) ## Tests +
[![result](./badges/tests-result.svg) ![total](./badges/tests-total.svg) ![passed](./badges/tests-passed.svg) ![failed](./badges/tests-failed.svg) ![todo](./badges/tests-todo.svg)](https://github.com/p2m2/EP2M2/actions/runs/12184248000)
[![Branches](./badges/coverage-branches.svg) ![Functions](./badges/coverage-functions.svg) ![Lines](./badges/coverage-lines.svg)![Statements](./badges/coverage-statements.svg) ![Coverage total](./badges/coverage-total.svg)](https://github.com/p2m2/EP2M2/actions/runs/12184248000) ## Features + - Extraction of formats files of the metabolomics data acquisition devices of the P2M2 platform - gcms - openlabcds @@ -35,6 +39,7 @@ __0.3.1__ ## Installation ### Requirements + - adminitrator rights - docker - docker-compose @@ -45,24 +50,25 @@ __0.3.1__ 1. Clone the repository 2. Define user and password for the database and the database name -```bash -cd EP2M2 -echo "PGUSER=" > ./secrets/pg.env -echo "PGPASSWORD=" >> ./secrets/pg.env -echo "PGDATABASE=" >> ./secrets/pg.env -echo "POSTGRES_USER=\$PGUSER" >> ./secrets/pg.env -echo "POSTGRES_PASSWORD=\$PGPASSWORD" >> ./secrets/pg.env -echo "POSTGRES_DB=\$PGDATABASE" >> ./secrets/pg.env -``` + ```bash + cd EP2M2 + echo "MY_PG_USER=" > ./secrets/global.env + echo "MY_PG_PASSWORD=" >> ./secrets/global.env + echo "MY_PG_DATABASE=" >> ./secrets/global.env + echo "MY_PG_PORT=" >> ./secrets/global.env + ``` 3. Launch the docker-compose -```bash -docker compose -f compose.yaml up -d -``` + ```bash + docker compose -f compose.yaml up -d + ``` ## Contibution + [let's go](./doc/contribution.md) + ## Report issue + - Directly on github - Send e-mail at [team](mailto:p2m2-it@inrae.fr) diff --git a/environment/pg.env b/environment/pg.env index a43b7d1..7674be8 100644 --- a/environment/pg.env +++ b/environment/pg.env @@ -1,3 +1,8 @@ +# © 2024 INRAE +# SPDX-FileContributor: Marcellino Palerme + +# SPDX-License-Identifier: MIT + POSTGRESQL_PASSWORD=$MY_PG_PASSWORD POSTGRESQL_USER=$MY_PG_USER POSTGRESQL_PORT=$MY_PG_PORT diff --git a/environment/pg_web.env b/environment/pg_web.env index 1f4e6ee..8afcd7b 100644 --- a/environment/pg_web.env +++ b/environment/pg_web.env @@ -1,3 +1,8 @@ +# © 2024 INRAE +# SPDX-FileContributor: Marcellino Palerme + +# SPDX-License-Identifier: MIT + PGUSER=$MY_PG_USER PGPASSWORD=$MY_PG_PASSWORD PGDATABASE=$MY_PG_DATABASE