How to use railpack to build bun service

2 years ago

Solved

51 Replies


2 years ago

to use it but cant find in ui


2 years ago

1348029202154258432


2 years ago

Check Settings then scroll down to the Build section, you'll see a select input where you can swap Nixpacks out for Railpack


2 years ago

heads up though, odds are Railpack will fail too since you haven't specified a start command, you should specify a start command in your package.json


2 years ago

oo ok found


2 years ago

"start": "bun main.ts",


2 years ago

added this too


2 years ago

Awesome, then you should be golden


2 years ago

1348029552286498929


2 years ago

interesting, mind sharing your logs?



2 years ago

sec


2 years ago

1348029662239916082


2 years ago

1348029684855734294


2 years ago

and no logs here


2 years ago

that i see


2 years ago

Build logs specifically


2 years ago

oh i see


2 years ago

1348029771300339712


2 years ago

seems this is old


2 years ago

same error as last time, i'm looking at your github right now and you still don't have a start command


2 years ago

oh i do see it now nvm


2 years ago

yea it didn't push for some reason


2 years ago

ok lets see now


2 years ago

1348029945263296593


2 years ago

ok that was pretty fast


2 years ago

going to try hit it


2 years ago

neat!!!


2 years ago

1348030100607729675


2 years ago

thats cooll


2 years ago

thanks


2 years ago

btw


2 years ago

is there anything interesting i can turn on with railway


2 years ago

i see bare metal is already on so thats nice


2 years ago

is there anything neat thats opt in that could be helpful


2 years ago

only other thing I can think of is the metal edge, you can enable it by going to your domain in service settings and clicking on the lightning icon

1348030710136569997


2 years ago

i wonder, if I have custom domain


2 years ago

with CNAME


2 years ago

does that add latency


2 years ago

compared to if it was just railway


2 years ago

seems its a bit

1348034431012573359


2 years ago

but its negligible


2 years ago

I don't think it would make any difference


2 years ago

yea


2 years ago

All clear to mark as solved?


2 years ago

is there any way we could make this information here clearer? the goal is to have these issues be self served


2 years ago

it was quite clear


2 years ago

so no issues on railway side


2 years ago

great!


2 years ago

!s


Status changed to Solved dev • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...