From 2b0cab24a092e72ca3397b0ab072028874c6d9f4 Mon Sep 17 00:00:00 2001
From: jankovicn <nikola.jankovic@eox.at>
Date: Tue, 18 Jan 2022 14:22:14 +0100
Subject: [PATCH] moved pip install to requirements

---
 configure.sh     | 1 -
 requirements.txt | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.sh b/configure.sh
index 804efb9..c4027e3 100755
--- a/configure.sh
+++ b/configure.sh
@@ -66,7 +66,6 @@
     
     if [[ "$ENABLE_HTTP_ACCESS" = true ]] ; then
         echo "Installing and enabling http_access"
-        pip install http-access==0.0.1
         echo "INSTALLED_APPS += ('http_access', )" >> pvs_instance/settings.py
         echo "urlpatterns.append(re_path(r'^http/', include('http_access.urls')))" >> pvs_instance/urls.py
     fi
diff --git a/requirements.txt b/requirements.txt
index c71da42..1c1e2a5 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,3 +7,4 @@ jsonschema<5.0
 boto3<2.0
 django-cors-headers<4.0
 pystac<2.0
+http-access==0.0.1
-- 
GitLab