Open bbelderbos opened 2 years ago
Using this as a guide: https://www.youtube.com/watch?v=wGEZWXiEnNI
pycharm database configuration not working - https://www.youtube.com/watch?v=r90CNlorK78
I made a postgres db in aws, but haven't been able to connect to it yet.
switching to deployment using elastic beanstalk - https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html
Hm let's look at this later, can you try to use postgres from the command line so not coupled with Pycharm?
We use
python-decouple
to load in env variables anddj-database-url
to just work with a single DB URL, e.g.You can already swap to a postgres db locally to have your dev environment as closely matching to production. Example how we use dj-database-url in
settings.py
for the DB config: