Arti Villa
Arti Villa
RRailway
Created by Arti Villa on 8/4/2024 in #✋|help
how do I run postgres locally?
ty! getting a hang of this thing. already getting my friends on it.
12 replies
RRailway
Created by Arti Villa on 8/4/2024 in #✋|help
how do I run postgres locally?
so my guess is you have to create a .env file and set to DATABASE_URL manually to DATABASE_PUBLIC_URL. you can't do railway run here
12 replies
RRailway
Created by Arti Villa on 8/4/2024 in #✋|help
how do I run postgres locally?
if the server is running locally i can still make it point to the same public postgres db yeah?
12 replies
RRailway
Created by Arti Villa on 8/4/2024 in #✋|help
how do I run postgres locally?
yep still running into an error.
railway run bun run dev
$ bun run --watch src/index.ts
Started server http://localhost:3000
40 | res = resolve
41 | rej = reject
42 | }).catch((err) => {
43 | // replace the stack trace that leads to `TCP.onStreamRead` with one that leads back to the
44 | // application that created the query
45 | Error.captureStackTrace(err)
^
ECONNREFUSED: Failed to connect
errno: 8
syscall: "connect"

at /Users/artivilla/Documents/figma-extensions/print-shop-server/node_modules/pg-pool/index.js:45:11
at processTicksAndRejections (native:1:1)
railway run bun run dev
$ bun run --watch src/index.ts
Started server http://localhost:3000
40 | res = resolve
41 | rej = reject
42 | }).catch((err) => {
43 | // replace the stack trace that leads to `TCP.onStreamRead` with one that leads back to the
44 | // application that created the query
45 | Error.captureStackTrace(err)
^
ECONNREFUSED: Failed to connect
errno: 8
syscall: "connect"

at /Users/artivilla/Documents/figma-extensions/print-shop-server/node_modules/pg-pool/index.js:45:11
at processTicksAndRejections (native:1:1)
im 'not sure how to make my server service connect to the db service.
12 replies
RRailway
Created by Arti Villa on 8/4/2024 in #✋|help
how do I run postgres locally?
projectID: a2ca1487-d15e-47b9-9817-8cf2ec0824f7
12 replies
RRailway
Created by Arti Villa on 7/6/2024 in #✋|help
setup a pipedream postgres account with a railway postgres db
think it worked 🙂
14 replies
RRailway
Created by Arti Villa on 7/6/2024 in #✋|help
setup a pipedream postgres account with a railway postgres db
No description
14 replies
RRailway
Created by Arti Villa on 7/6/2024 in #✋|help
setup a pipedream postgres account with a railway postgres db
Also what do I set for Use Shared Static IP ?
14 replies
RRailway
Created by Arti Villa on 7/6/2024 in #✋|help
setup a pipedream postgres account with a railway postgres db
Can I not provide SSL CA Bundle, SSL Private Key, and SSL Client Certificate?
14 replies
RRailway
Created by Arti Villa on 7/6/2024 in #✋|help
setup a pipedream postgres account with a railway postgres db
Oh. It's not recommended. why is that?
14 replies
RRailway
Created by Arti Villa on 7/6/2024 in #✋|help
setup a pipedream postgres account with a railway postgres db
projectID: 2397ca9e-3cc9-4715-a02c-d2be99c3dedf
14 replies
RRailway
Created by Arti Villa on 4/25/2024 in #✋|help
cloning to github from template
so there isn't really a link between the services within a project?
14 replies
RRailway
Created by Arti Villa on 4/25/2024 in #✋|help
cloning to github from template
there are so many more config options here. im assuing vercel abstracts all this for you or just didn't provide the ability to group services
14 replies
RRailway
Created by Arti Villa on 4/25/2024 in #✋|help
cloning to github from template
yep, didn't press that. so managed to clone it.
14 replies
RRailway
Created by Arti Villa on 4/25/2024 in #✋|help
cloning to github from template
got it. yeah so when i hit the TSE, it initiated this so i assumed this is the next step.
14 replies
RRailway
Created by Arti Villa on 4/25/2024 in #✋|help
cloning to github from template
2602aa55-49d0-4e1c-89d2-3c25a2cc2386
14 replies