Giter VIP home page Giter VIP logo

Comments (5)

fr0tt avatar fr0tt commented on May 19, 2024

You have two options to configure a postgresql connection in your .env file.

The first one would be to edit all of the database parameters.

DB_CONNECTION=pgsql
DB_HOST=localhostOrYourDatabaseIpAddress
DB_PORT=5432
DB_DATABASE=YourDatabaseName
DB_USERNAME=YourDatabaseUsername
DB_PASSWORD=YourDatabasePassword

The other one would be to use a connection string that contains all those information all in one:

DB_URL=postgres://username:password@localhost:5432/yourdatabasename

I also improved the installation section and added default values for a postgresql database connection.

from benotes.

0x01x0 avatar 0x01x0 commented on May 19, 2024

where is DB_URL?

from benotes.

fr0tt avatar fr0tt commented on May 19, 2024

Sorry my anwser was a little misleading. I edited and improved it.

I hope this anwsers your question. If not add more context about your situation for me so I can better understand your problem.

from benotes.

0x01x0 avatar 0x01x0 commented on May 19, 2024

NO NO NO ! I'm rookie!!!!

from benotes.

fr0tt avatar fr0tt commented on May 19, 2024

Please close the issue if your problem has been solved. If not, don't hestitate to ask.

from benotes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.