mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
Refactor python-dotenv installation in system preparation script
- Changed the installation method of the python-dotenv library from pip to apt for better package management. - Updated logging to reflect the new installation approach, enhancing user awareness during setup.
This commit is contained in:
@@ -16,11 +16,11 @@ log_info "Installing standard CLI tools..."
|
||||
apt install -y \
|
||||
htop git curl make unzip ufw fail2ban python3 psmisc whiptail \
|
||||
build-essential ca-certificates gnupg lsb-release openssl \
|
||||
debian-keyring debian-archive-keyring apt-transport-https python3-pip
|
||||
debian-keyring debian-archive-keyring apt-transport-https
|
||||
|
||||
# Install python-dotenv
|
||||
log_info "Installing python-dotenv library..."
|
||||
pip3 install python-dotenv
|
||||
# Install python-dotenv using apt
|
||||
log_info "Installing python-dotenv library using apt..."
|
||||
apt install -y python3-dotenv
|
||||
|
||||
# Configuring Firewall (UFW)
|
||||
log_info "Configuring firewall (UFW)..."
|
||||
|
||||
Reference in New Issue
Block a user