Skip to content

Commit

Permalink
last commit after review
Browse files Browse the repository at this point in the history
  • Loading branch information
praeitor committed Dec 23, 2024
1 parent a0b6fe6 commit 6ece1e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
POSTGRES_DB: kittygram
DB_HOST: postgres
DB_PORT: 5432
SECRET_KEY: r943ruj0938rjf9j09fj0932jf9023gj29few
SECRET_KEY: supersecurekeyfodjango
DEBUG: False
run: |
python -m flake8 backend/
Expand Down
13 changes: 7 additions & 6 deletions _env.example
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Database settings
### Database settings
POSTGRES_DB=dbname
POSTGRES_USER=dbuser
POSTGRES_PASSWORD=dbsecurepass
POSTGRES_HOST=dbhost
POSTGRES_PORT=dbport

# Django settings
SECRET_KEY=your_secret_key_here # Введите уникальный ключ для Django (например, сгенерированный через django-secret-key-generator)
DEBUG=True # True для разработки, False для продакшена

#### Django settings
# Введите уникальный ключ для Django (например, сгенерированный через django-secret-key-generator)
SECRET_KEY=your_secret_key_here
# True для разработки, False для продакшена
DEBUG=True
# ALLOWED_HOSTS (значения через пробел или запятую, в зависимости от split в settings.py)
ALLOWED_HOSTS=localhost,127.0.0.1,yourdomain.com
ALLOWED_HOSTS=localhost,127.0.0.1,yourdomain.com
2 changes: 1 addition & 1 deletion kittygram_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
POSTGRES_DB: kittygram
DB_HOST: postgres
DB_PORT: 5432
SECRET_KEY: r943ruj0938rjf9j09fj0932jf9023gj29few
SECRET_KEY: supersecurekeyfodjango
DEBUG: False
run: |
python -m flake8 backend/
Expand Down

0 comments on commit 6ece1e9

Please sign in to comment.