I am trying to create sample Django app with MySQL as database, its working fine in local when same app I try to deploy on GCP gives 500 error. I have created sql server in GCP and sued same settings
Its failing to find gunicorn but I have specified all this in requirments.txt.
2019-01-19 07:42:57 default[20190119t130429] "GET /admin HTTP/1.1" 500
2019-01-19 07:42:58 default[20190119t130429] /bin/sh: 1: exec: gunicorn: not found
2019-01-23 17:41:21 default[20190119t130429] "GET /admin HTTP/1.1" 500
2019-01-23 17:41:22 default[20190119t130429] /bin/sh: 1: exec: gunicorn: not found
2019-01-23 18:36:00 default[20190123t235752] "GET /admin HTTP/1.1" 500
2019-01-23 18:36:00 default[20190123t235752] /bin/sh: 1: exec: gunicorn: not found
2019-01-23 18:36:01 default[20190123t235752] "GET /favicon.ico HTTP/1.1" 500
2019-01-23 18:36:02 default[20190123t235752] /bin/sh: 1: exec: gunicorn: not found
2019-01-23 18:36:20 default[20190123t235752] "GET /admin HTTP/1.1" 500
2019-01-23 18:36:20 default[20190123t235752] /bin/sh: 1: exec: gunicorn: not found
2019-01-23 18:36:21 default[20190123t235752] "GET /favicon.ico HTTP/1.1" 500
2019-01-23 18:36:21 default[20190123t235752] /bin/sh: 1: exec: gunicorn: not found
**app.yaml**
runtime: python37
entrypoint: gunicorn -b :$PORT sqlreco.wsgi
#threadsafe: yes
handlers:
- url: /images
static_dir: static/images
http_headers:
Access-Control-Allow-Origin: '*'
runtime_config:
python_version: 3
**requirnaments.txt**
Django==2.1.5
djangorestframework==3.9.1
mysql==0.0.2
mysqlclient==1.4.1
pytz==2018.9
gunicorn==19.8.1