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]hexbear4·4 years agoGotta run a local backend too, as well as the local database. For the backend, using docker will make it easier to get running but use more resources. link
minus-squarebottech [he/him]hexagonhexbear3·4 years agoI dont know how to do that, wouldnt it be easier to have my frontend connect to the server? link
minus-squarevertexarray [any]hexbear3·4 years agoI took a second to tool around with connecting my local frontend to the dev server, and it seems like it sort of works, but loading comments and making accounts didn't work. Can't recommend it as a development workflow. link
minus-squarebottech [he/him]hexagonhexbear3·4 years agoAlright then, could you help me set up local backend? link
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
Gotta run a local backend too, as well as the local database. For the backend, using docker will make it easier to get running but use more resources.
I dont know how to do that, wouldnt it be easier to have my frontend connect to the server?
I took a second to tool around with connecting my local frontend to the dev server, and it seems like it sort of works, but loading comments and making accounts didn't work. Can't recommend it as a development workflow.
Alright then, could you help me set up local backend?
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?