Open in app
Bennett Garner
3.2K Followers
About

Sign in

3.2K Followers
About
Open in app
Bennett Garner

Bennett Garner

Apr 24, 2020·1 min read

Hi Martin,

It’ll be something like this:

```

postgresql://localhost
postgresql://localhost:5432
postgresql://localhost/mydb
postgresql://user@localhost
postgresql://user:secret@localhost

```

More info here: https://stackoverflow.com/a/20722229

Bennett Garner

Top writer in Technology | Backend Web Developer | bennettgarner.com

What if I am using locally a postgres database, what do I have to put in the .env
3
1

Martin Raddatz

More from Bennett Garner

Top writer in Technology | Backend Web Developer | bennettgarner.com

More From Medium

Learning to Code? Here’s How to Learn Fast

Bennett Garner in Level Up Coding

Getting Started with NumPy: Learn the Basics in Minutes!

Bennett Garner in Level Up Coding

Getting Started with GraphQL: It’s pretty easy!

Bennett Garner in Level Up Coding

“The Pragmatic Programmer” Is Essential Reading for Software Developers

Bennett Garner in Noteworthy - The Journal Blog

Build your first REST API with Django REST Framework

Bennett Garner in The Startup

Celery Tutorial: A Must-Learn Technology for Python Developers

Bennett Garner in The Startup

Getting Started with AWS Lambda: Is Serverless Worth the Hype?

Bennett Garner in Better Programming

Consider Yourself a Developer? You Should Solve the Project Euler Problems

Bennett Garner in Noteworthy - The Journal Blog

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store