Skip to content

Commit dd1e209

Browse files
committed
pass the build
1 parent 1ce5015 commit dd1e209

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- name: Pre-build container images
2525
run: |
2626
docker network create djangocmsnet
27+
2728
docker compose build --force-rm
2829
2930
- name: Run the containers

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ db.sqlite3
2020
.Trashes
2121

2222
.idea/
23-
.env
2423
node_modules/*

backend/settings.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Build paths inside the project like this: BASE_DIR / 'subdir'.
77
BASE_DIR = Path(__file__).resolve().parent.parent
88

9+
DEBUG = os.environ.get('DEBUG') == "True"
910
if DEBUG:
1011
from dotenv import load_dotenv
1112

@@ -15,7 +16,6 @@
1516
SECRET_KEY = os.environ.get('SECRET_KEY', '<a string of random characters>')
1617

1718
# SECURITY WARNING: don't run with debug turned on in production!
18-
DEBUG = os.environ.get('DEBUG') == "True"
1919

2020
ALLOWED_HOSTS = [os.environ.get('DOMAIN'),]
2121
if DEBUG:
@@ -160,10 +160,6 @@
160160
DATABASES = {'default': dj_database_url.parse(DATABASE_URL)}
161161

162162

163-
print("DEBUG" * 100)
164-
print(DATABASES, DATABASE_URL)
165-
print("DEBUG" * 100)
166-
167163
# Password validation
168164
# https://docs.djangoproject.com/en/3.1/ref/settings/#auth-password-validators
169165

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# pip-compile -U --resolver=backtracking
33

44
boto3
5-
psycopg2
5+
psycopg2-binary
66
uwsgi
77

88
django<=6

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
55
# pip-compile
@@ -121,7 +121,7 @@ pillow==11.0.0
121121
# reportlab
122122
pip-tools==7.4.1
123123
# via -r requirements.in
124-
psycopg2==2.9.10
124+
psycopg2-binary==2.9.10
125125
# via -r requirements.in
126126
pyproject-hooks==1.2.0
127127
# via

0 commit comments

Comments
 (0)