From ebc48b2cb73784a489c837a65d4f680d0b9da706 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Thu, 26 Sep 2024 19:47:52 +0700 Subject: [PATCH] Add a comment on installation script --- app/install.sh | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/app/install.sh b/app/install.sh index 25a009c..0a9077e 100644 --- a/app/install.sh +++ b/app/install.sh @@ -1,10 +1,13 @@ -sudo apt-get install -y python3-pip -pip install --upgrade pip -pip install bottle # Micro Framework -pip install gunicorn # WSGI Server Backend -pip install beaker # Session & caching library -pip install mako # Template library -pip install mysql-connector # Database +python3 -m venv .venv # Create .venv -pip install bcrypt -pip install pyjwt[crypto] +.venv/bin/pip3 install --upgrade pip # Upgrade pip + +.venv/bin/pip3 install bottle # Micro Framework +.venv/bin/pip3 install gunicorn # WSGI Server Backend +.venv/bin/pip3 install beaker # Session & caching library +.venv/bin/pip3 install mako # Template library + +.venv/bin/pip3 install mysql-connector # Database connector +.venv/bin/pip3 install bcrypt # Password hash +.venv/bin/pip3 install pyjwt[crypto] # JWT +.venv/bin/pip3 install requests # For HTTP Request (Recaptcha need a POST HTTP requests)