From 2e88642d77ecf91c9e0d45209424b7b7db9e020b Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Thu, 2 Dec 2021 13:32:25 +0100 Subject: [PATCH] feat(api): changed EE entrypoint for on the fly dev --- ee/api/.gitignore | 2 +- ee/api/entrypoint.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 ee/api/entrypoint.sh diff --git a/ee/api/.gitignore b/ee/api/.gitignore index 06eb982a9..f4fc2bc33 100644 --- a/ee/api/.gitignore +++ b/ee/api/.gitignore @@ -236,7 +236,7 @@ Pipfile /chalicelib/utils/TimeUTC.py /chalicelib/core/heatmaps.py /entrypoint.bundle.sh -/entrypoint.sh +#/entrypoint.sh /env_handler.py /chalicelib/blueprints/app/v1_api.py /build.sh diff --git a/ee/api/entrypoint.sh b/ee/api/entrypoint.sh new file mode 100755 index 000000000..57ef8e42f --- /dev/null +++ b/ee/api/entrypoint.sh @@ -0,0 +1,4 @@ +#!/bin/bash +python env_handler.py +#chalice local --no-autoreload --host 0.0.0.0 --stage ${ENTERPRISE_BUILD} +chalice local --host 0.0.0.0 --stage ${ENTERPRISE_BUILD}