bottech [he/him] to hexbear • 4 years agoHow to have my local connect frontend connect to something?message-squaremessage-square36 fedilinkarrow-up19
arrow-up19message-squareHow to have my local connect frontend connect to something?bottech [he/him] to hexbear • 4 years agomessage-square36 Commentsfedilink
minus-squarevertexarray [any]hexbear3·4 years agoHere's the guide to getting it running locally. If you run into problems getting it going don't hesitate to ask — it took a bit of fiddling for me. link
minus-squarebottech [he/him]hexagonhexbear3·4 years agoOk, so i followed the instructions, but when i run cargo run on the backend i get FATAL: password authentication failed for user "lemmy" link
minus-squarevertexarray [any]hexbear3·4 years agoIt looks like you can just do ./db-init.sh in a terminal in the server directory link
minus-squarebottech [he/him]hexagonhexbear3·edit-24 years agoFATAL: Peer authentication failed for user "postgres" Also there wasnt server directory, that file was in scripts link
minus-squarevertexarray [any]hexbear3·4 years agoHmm, I didn't encounter that on my end. I'm not on Linux so it might be an OS difference. link
Here's the guide to getting it running locally. If you run into problems getting it going don't hesitate to ask — it took a bit of fiddling for me.
Ok, so i followed the instructions, but when i run
cargo run
on the backend i getFATAL: password authentication failed for user "lemmy"
Have you run
db-init.sh
?No, how to do that?
What's your OS?
Ubuntu
It looks like you can just do
./db-init.sh
in a terminal in theserver
directoryFATAL: Peer authentication failed for user "postgres"
Also there wasnt server directory, that file was in scripts
Hmm, I didn't encounter that on my end. I'm not on Linux so it might be an OS difference.