From 4d1bafef79d421827efa5a589e42b437c5512719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Di=20Biase?= Date: Thu, 1 Jul 2021 14:16:40 -0300 Subject: [PATCH] Back to env file with only key and value (support test and app cases) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Luis Di Biase --- .env.example | 18 +++++++----------- README.md | 2 +- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.env.example b/.env.example index c942876..008e934 100644 --- a/.env.example +++ b/.env.example @@ -1,11 +1,7 @@ -export BASE_URL="https://your-backend-url" -export API_URL="/your-api-namespace" -export MULTIPLE_SELECTION_ENABLE=true - -# Sentry -export SENTRY_DSN="https://public@sentry.example.com/1" -export SENTRY_RELEASE="release" - -# e2e Tests -export AUTH_USERNAME=username -export AUTH_PASSWORD=password +BASE_URL="https://your-backend-url" +API_URL="/your-api-namespace" +MULTIPLE_SELECTION_ENABLE=true +SENTRY_DSN="https://public@sentry.example.com/1" +SENTRY_RELEASE="release" +AUTH_USERNAME="username" +AUTH_PASSWORD="password" diff --git a/README.md b/README.md index bf33669..c2dc751 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ Los tests de integración utilizan una instancia activa del [servidor de IA²](h Una vez configuradas las variables, exponer los valores de ambiente utilizando: ```bash -source .env +export $(cat .env | xargs) ``` Luego es posible ejecutar las pruebas utilizando: