Deployment - JWalshe86/career GitHub Wiki

Deploy to heroku

Created Profile with following code

web: gunicorn core.wsgi  

Added the heroku/python buildpack

Added these config vars: image

image

https://whitenoise.readthedocs.io/en/stable/django.html whitenoise worked image

BUG: Postgres Value error

Cannot accept list of column references or list of columns for both `x` and `y`.

image

Was able to reproduce locally, by connecting to postgres db

Importing pgadmin from pypy

pip install pgadmin4
Username = [email protected] & password is the default

image

User does not have CONNECT privledge

image

image

stackoverflow on CONNECT issue

Entering psql in linux

 sudo -u postgres psql

🎉 In! image

I think the 0.0.0.0.0:5432 here should be 127.0.0.1

image

Can see tables now image User: postgres Password: default Name - d539b1lf93j941 Host - localhost

I'd followed this image

This removes error image but map & tables don't display