Skip to content

Commit

Permalink
Adaptando p/ ser nova branch main
Browse files Browse the repository at this point in the history
Correção para adicionar como breanch main
  • Loading branch information
MVConsorte committed Jun 11, 2024
1 parent 8fc41fb commit f01e553
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ENV PYTHONUNBUFFERED 1

# Copia a pasta "driverplan" e "scripts" para dentro do container
COPY driverplan /driverplan
COPY scripts /scripts
COPY scripts /scripts
# COPY driverplan/manage.py /app
# COPY driverplan/requirements.txt /app
# COPY driverplan/driverplan /app/driverplan
Expand Down
4 changes: 3 additions & 1 deletion dotenv_files/.env-example
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SECRET_KEY="CHANGE-ME"
# gerador de senha de 50 digitos pela função interna do Django
# python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"

# 0 False, 1 True
DEBUG="1"
Expand All @@ -10,5 +12,5 @@ DB_ENGINE="django.db.backends.postgresql"
POSTGRES_DB="CHANGE-ME"
POSTGRES_USER="CHANGE-ME"
POSTGRES_PASSWORD="CHANGE-ME"
POSTGRES_HOST="localhost"
POSTGRES_HOST="localhost" # localhost -> no servidor; "psql" -> hostname
POSTGRES_PORT="5432"
2 changes: 1 addition & 1 deletion driverplan/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
idna==3.7
pyTelegramBotAPI==4.18.1
#pyTelegramBotAPI==4.18.1
requests==2.32.3
sniffio==1.3.1
sqlparse==0.5.0
Expand Down

0 comments on commit f01e553

Please sign in to comment.