Skip to content

Commit 1dbedf5

Browse files
Making Site Ready For Heroku Server
1 parent 9062152 commit 1dbedf5

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ coverage.xml
5858
# Django stuff:
5959
*.log
6060
local_settings.py
61-
db.sqlite3
61+
6262
db.sqlite3-journal
6363

6464
# Flask stuff:

Amazon/settings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
SECRET_KEY = 'jzgr*8ak&pe4$e4b5ytm0y)29%v=!qw5msy_%i#7kb@ngttze$'
2929

3030
# SECURITY WARNING: don't run with debug turned on in production!
31-
DEBUG = True
31+
DEBUG = False
3232

33-
ALLOWED_HOSTS = []
33+
ALLOWED_HOSTS = ['*']
3434

3535

3636
# Application definition
@@ -81,8 +81,8 @@
8181
}, 'facebook': {
8282

8383
'APP': {
84-
'client_id': '354272972530936',
85-
'secret': '97ac0de3d98c1ca584b0b795bb6fd7df',
84+
'client_id': '1096504117449006',
85+
'secret': '4458fb4d143ee6294058ef5ac29d5b70',
8686
'key': ''
8787
},
8888

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: gunicorn Famzaa.wsgi

db.sqlite3

220 KB
Binary file not shown.

requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ cryptography==3.2.1
99
defusedxml==0.6.0
1010
Django==3.1.3
1111
django-allauth==0.43.0
12+
django-shopping-cart==0.1
13+
gunicorn==20.0.4
1214
idna==2.10
1315
isort==5.6.4
1416
lazy-object-proxy==1.4.3
1517
mccabe==0.6.1
1618
oauthlib==3.1.0
19+
Pillow==8.0.1
1720
pycodestyle==2.6.0
1821
pycparser==2.20
1922
PyJWT==1.7.1
@@ -22,9 +25,13 @@ python3-openid==3.2.0
2225
pytz==2020.4
2326
requests==2.24.0
2427
requests-oauthlib==1.3.0
28+
sentry-sdk==0.19.2
2529
six==1.15.0
2630
sqlparse==0.4.1
2731
toml==0.10.2
2832
typed-ast==1.4.1
33+
ua-parser==0.10.0
2934
urllib3==1.25.11
35+
user-agents==2.2.0
36+
whitenoise==5.2.0
3037
wrapt==1.12.1

runtime.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-3.7.7

0 commit comments

Comments
 (0)