From a1bf1e9ea4612494448735aa16f242e69b27c0c1 Mon Sep 17 00:00:00 2001 From: Lucas F Date: Wed, 2 Aug 2023 15:44:07 -0300 Subject: [PATCH] update: config de email em env --- run.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index ba83f20..e249506 100755 --- a/run.sh +++ b/run.sh @@ -242,6 +242,13 @@ make_env_file() { ENV="SECRET_KEY='$(key_gen)'\n ALLOWED_HOSTS=localhost, 127.0.0.1\n DEBUG=False + + EMAIL_HOST= + EMAIL_PORT= + EMAIL_HOST_USER= + EMAIL_HOST_PASSWORD= + EMAIL_USE_TLS=True + DEFAULT_FROM_EMAIL= " $(echo -e $ENV | sed -e 's/^[ \t]*//' > /home/$USERNAME/$APP/.env) } @@ -282,7 +289,7 @@ update_debug() { # Instala pacotes necessários # Install required packages install_packages() { - dnf config-manager --set-enabled crb && + dnf config-manager --set-enabled crb dnf update && yum -y install vim && yum -y install epel-release &&