Comments (5)
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.
where is DB_URL?
from benotes.
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.
NO NO NO ! I'm rookie!!!!
from benotes.
Please close the issue if your problem has been solved. If not, don't hestitate to ask.
from benotes.
Related Issues (20)
- The Way to Translate HOT 4
- Offline editing HOT 1
- can i reset the password or salvage my links? HOT 6
- Checking checkbox is broken HOT 5
- Removing parent collection not working HOT 1
- docker-compose fr0tt/benotes:2.7.0-beta could not run with sqlite HOT 2
- Could you share frontend source code ? HOT 1
- unbound variable HOT 4
- Screenshots of Website or only open meta tag image HOT 6
- Pull to refresh not working iOS HOT 4
- Login error 500 after docker-compose update HOT 6
- Duplicating Collections in Search Input Field HOT 9
- Importing Bookmarks: Failed. Error 500 HOT 7
- Backup HOT 11
- [feature request] lock notes in place (PWA on mobile issue) HOT 4
- Pasting HTML code to view HOT 3
- Cannot pull - Cannot stash HOT 3
- logs me out very frequently HOT 2
- Issue with some fonts and favicon
- Firefox PWA HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from benotes.