Browse Source

update: config de email em env

main
Lucas 1 year ago
parent
commit
a1bf1e9ea4
  1. 9
      run.sh

9
run.sh

@ -242,6 +242,13 @@ make_env_file() {
ENV="SECRET_KEY='$(key_gen)'\n ENV="SECRET_KEY='$(key_gen)'\n
ALLOWED_HOSTS=localhost, 127.0.0.1\n ALLOWED_HOSTS=localhost, 127.0.0.1\n
DEBUG=False 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) $(echo -e $ENV | sed -e 's/^[ \t]*//' > /home/$USERNAME/$APP/.env)
} }
@ -282,7 +289,7 @@ update_debug() {
# Instala pacotes necessários # Instala pacotes necessários
# Install required packages # Install required packages
install_packages() { install_packages() {
dnf config-manager --set-enabled crb && dnf config-manager --set-enabled crb
dnf update && dnf update &&
yum -y install vim && yum -y install vim &&
yum -y install epel-release && yum -y install epel-release &&

Loading…
Cancel
Save