How to use railpack to build bun service

4 months ago

Solved

0 Replies


4 months ago

to use it but cant find in ui


4 months ago

1348029202154258400


4 months ago

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


4 months 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


4 months ago

oo ok found


4 months ago

"start": "bun main.ts",


4 months ago

added this too


4 months ago

Awesome, then you should be golden


4 months ago

1348029552286498800


4 months ago

interesting, mind sharing your logs?



4 months ago

sec


4 months ago

1348029662239916000


4 months ago

1348029684855734300


4 months ago

and no logs here


4 months ago

that i see


4 months ago

Build logs specifically


4 months ago

oh i see


4 months ago

1348029771300339700


4 months ago

seems this is old


4 months ago

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


4 months ago

oh i do see it now nvm


4 months ago

yea it didn't push for some reason


4 months ago

ok lets see now


4 months ago

1348029945263296500


4 months ago

ok that was pretty fast


4 months ago

going to try hit it


4 months ago

neat!!!


4 months ago

1348030100607729700


4 months ago

thats cooll


4 months ago

thanks


4 months ago

btw


4 months ago

is there anything interesting i can turn on with railway


4 months ago

i see bare metal is already on so thats nice


4 months ago

is there anything neat thats opt in that could be helpful


4 months 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

1348030710136570000


4 months ago

i wonder, if I have custom domain


4 months ago

with CNAME


4 months ago

does that add latency


4 months ago

compared to if it was just railway


4 months ago

seems its a bit

1348034431012573400


4 months ago

but its negligible


4 months ago

I don't think it would make any difference


4 months ago

yea


4 months ago

All clear to mark as solved?


4 months ago

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


4 months ago

it was quite clear


4 months ago

so no issues on railway side


4 months ago

great!


4 months ago

!s


Status changed to Solved dev 4 months ago