File tree Expand file tree Collapse file tree 5 files changed +5
-9
lines changed
Expand file tree Collapse file tree 5 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -20,5 +20,4 @@ db.sqlite3
2020.Trashes
2121
2222.idea /
23- .env
2423node_modules /*
Original file line number Diff line number Diff line change 66# Build paths inside the project like this: BASE_DIR / 'subdir'.
77BASE_DIR = Path (__file__ ).resolve ().parent .parent
88
9+ DEBUG = os .environ .get ('DEBUG' ) == "True"
910if DEBUG :
1011 from dotenv import load_dotenv
1112
1516SECRET_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
2020ALLOWED_HOSTS = [os .environ .get ('DOMAIN' ),]
2121if DEBUG :
160160DATABASES = {'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
Original file line number Diff line number Diff line change 22# pip-compile -U --resolver=backtracking
33
44boto3
5- psycopg2
5+ psycopg2-binary
66uwsgi
77
88django<=6
Original file line number Diff line number Diff line change 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
122122pip-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
126126pyproject-hooks == 1.2.0
127127 # via
You can’t perform that action at this time.
0 commit comments