Hacker News new | ask | show | jobs
by mritchie712 1319 days ago
agreed, running pg locally is a pain. I use a cloud postgres instance (even for local dev). They're dirt cheap and it's not worth the hassle of working with a local pg.
4 comments

What OS are you on? Running postgres on Linux is as trivial as it gets, and for Windows they have a nice installer. Or just use docker.
Does the docker have users set up? I seem to remember that being a pain point in the initial setup.
I love Postgres.app on mac, makes running locally a breeze. Running Postgres fast on the cloud is what I always struggled with (without paying enormous sums)
>> agreed, running pg locally is a pain

If you have a single process accessing the database, use SQLite. If not, use Postgres.

which cloud do you use for local dev?
aws, gcp, digital ocean and supabase all have pretty good free tiers