Browse Source

Add support for YugabyteDB as a database backend

Kyle Maas 1 year ago
parent
commit
3231821118
2 changed files with 3 additions and 1 deletions
  1. 1 1
      install.sh
  2. 2 0
      requirements.txt

+ 1 - 1
install.sh

@@ -24,7 +24,7 @@ done
 osVersion=$(lsb_release -d)
 if [[ $osVersion == *"Ubuntu 20"* ]] || [[ $osVersion == *"Ubuntu 22"* ]] || [[ $osVersion == *"buster"* ]] || [[ $osVersion == *"bullseye"* ]]; then
     echo 'Performing system update and dependency installation, this will take a few minutes'
-    apt-get update && apt-get -y upgrade && apt-get install python3-venv python3-dev virtualenv redis-server postgresql nginx git gcc vim unzip imagemagick python3-certbot-nginx certbot wget xz-utils -y
+    apt-get update && apt-get -y upgrade && apt-get install python3-venv python3-dev virtualenv redis-server postgresql nginx git gcc vim unzip imagemagick python3-certbot-nginx certbot wget xz-utils libpq-dev -y
 else
     echo "This script is tested for Ubuntu 20/22 versions only, if you want to try MediaCMS on another system you have to perform the manual installation"
     exit

+ 2 - 0
requirements.txt

@@ -19,3 +19,5 @@ m3u8==3.5.0
 django-ckeditor==6.6.1
 django-debug-toolbar==4.1.0
 django-login-required-middleware==0.9.0
+django-yugabytedb==4.0.0.post1
+psycopg2==2.9.7