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:
https://whitenoise.readthedocs.io/en/stable/django.html
whitenoise worked
BUG: Postgres Value error
Cannot accept list of column references or list of columns for both `x` and `y`.
Was able to reproduce locally, by connecting to postgres db
Importing pgadmin from pypy
pip install pgadmin4
Username = [email protected] & password is the default
User does not have CONNECT privledge
stackoverflow on CONNECT issue
Entering psql in linux
sudo -u postgres psql
🎉 In!
I think the 0.0.0.0.0:5432 here should be 127.0.0.1
Can see tables now
User: postgres
Password: default
Name - d539b1lf93j941
Host - localhost
I'd followed this
This removes error
but map & tables don't display