Skip to content

Commit

Permalink
DA ZARABOTAY TI UZHE!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
Данил Данилыч committed Aug 16, 2023
1 parent 6cbcee0 commit 0509ee2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
POSTGRES_USER: django_user
POSTGRES_PASSWORD: django_password
POSTGRES_DB: django_db
SECRET_KEY: ${{ secrets.SECRET_KEY }}
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
Expand All @@ -41,8 +40,6 @@ jobs:
POSTGRES_DB: django_db
DB_HOST: 127.0.0.1
DB_PORT: 5432
SECRET_KEY: ${{ secrets.SECRET_KEY }}
DEBUG: false
run: |
python -m flake8 backend/
cd backend/
Expand Down
3 changes: 2 additions & 1 deletion backend/kittygram_backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

SECRET_KEY = os.getenv('SECRET_KEY')

DEBUG = os.getenv('DEBUG', 'false').lower() == 'true'
DEBUG = True
# DEBUG = os.getenv('DEBUG', 'false').lower() == 'true'

ALLOWED_HOSTS = ['158.160.74.55', '127.0.0.1', 'localhost', 'kittygramich.ddnsking.com']

Expand Down
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ pytest-django==4.4.0
pytest-pythonpath==0.7.3
PyYAML==6.0
django-cors-headers==3.13.0
python-dotenv==0.19.0
python-dotenv==1.0.0
3 changes: 0 additions & 3 deletions kittygram_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
POSTGRES_USER: django_user
POSTGRES_PASSWORD: django_password
POSTGRES_DB: django_db
SECRET_KEY: ${{ secrets.SECRET_KEY }}
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
Expand All @@ -41,8 +40,6 @@ jobs:
POSTGRES_DB: django_db
DB_HOST: 127.0.0.1
DB_PORT: 5432
SECRET_KEY: ${{ secrets.SECRET_KEY }}
DEBUG: false
run: |
python -m flake8 backend/
cd backend/
Expand Down

0 comments on commit 0509ee2

Please sign in to comment.