Skip to content

Commit 96a4778

Browse files
committed
render - Update Deploy Files
1 parent 8ec88b3 commit 96a4778

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -o errexit
55
pip install -r requirements.txt
66

77
python manage.py collectstatic --no-input
8-
python manage.py migrate --database=postgres_default
8+
python manage.py migrate

render.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
1-
databases:
2-
- name: berry # this name should be same as your RENDER database name
3-
41
services:
52
- type: web
6-
name: berry-services
3+
name: django-berry-pro
74
plan: free
85
env: python
9-
region: singapore # region should be same as your database region, if your database region is different then you have to change this region as well.
6+
region: singapore # region should be same as your database region.
107
buildCommand: "./build.sh"
118
startCommand: "gunicorn core.wsgi:application"
129
envVars:
13-
- key: DATABASE_URL
14-
fromDatabase:
15-
name: berry # this name should be same as your RENDER database name
16-
property: connectionString
10+
- key: DEBUG
11+
value: False
1712
- key: SECRET_KEY
1813
generateValue: true
1914
- key: WEB_CONCURRENCY
20-
value: 4
15+
value: 4

0 commit comments

Comments
 (0)