Browse Source

Merge branch 'unstable' of blezz-tech/sharix-open-webapp-base into unstable

2 changed files with 11 additions and 0 deletions
  1. 9 0
      bin/install.sh
  2. 2 0
      requirements.txt

+ 9 - 0
bin/install.sh

@@ -108,3 +108,12 @@ echo_warning "Reloading systemd daemon"
 systemctl daemon-reload
 echo_success "Reloaded systemd daemon"
 
+# Checking for webservice_running/handlers/.env
+if [ -f webservice_running/handlers/.env ]; then
+    echo "env file for handlers already exists. "
+else
+    echo_warning "Creating env file for handlers."
+    cp webservice_running/handlers/.env.example webservice_running/handlers/.env
+    echo_success "Created env file for handlers."
+fi
+

+ 2 - 0
requirements.txt

@@ -27,6 +27,7 @@ djangorestframework-api-key==3.*
 djangorestframework-simplejwt==4.8.0
 djoser==2.1.0
 docutils==0.19
+dotenv==0.9.9
 drf-yasg==1.21.5
 fontawesomefree==6.6.0
 graphene==3.2.1
@@ -48,6 +49,7 @@ pycparser==2.21
 pydot==1.4.2
 PyJWT==2.*
 pyparsing==3.0.9
+python-dotenv==1.1.0
 python3-openid==3.2.0
 pytz==2022.7.1
 PyYAML==6.0.2