#Using Railway host through github repo

39 messages · Page 1 of 1 (latest)

ember crescent
#

I am trying to host through Railway adding web and port to my github project and it doesn't work. Anybody know how to help?

fervent ravenBOT
#

Project ID: 687c4a54-62cd-4632-a577-75aebbf227bc

ember crescent
#

687c4a54-62cd-4632-a577-75aebbf227bc

#

im new to Railway.

warm kernel
#

Your going to have to provide atleast some information about your project

ember crescent
#

Im trying to use the dashboard web with my code and it says error.

#

I put this in my code and still doesn't work.

warm kernel
#

Keep the info comming. I don't know what stack your using yet

ember crescent
#

its javascript

#

and im using nixpacks

#

if thats what your asking for

warm kernel
#

what framework are you using

ember crescent
#

discord.js

warm kernel
#

oh so its purely a discord bot

ember crescent
#

yes

warm kernel
#

what is the error your facing

ember crescent
#

web doesn't work

warm kernel
#

does your discord bot has a front end?

ember crescent
#

yes

warm kernel
#

what are the build start and install commands being used

ember crescent
#

this is what I got

warm kernel
# ember crescent

either make this use the value of the PORT environment variable or set PORT manaully via the railway website to 8080

ember crescent
#

and how do I manually do that?

warm kernel
#

side note. that max old space value will probbally make your bot go OOM quite often

#

via the website

ember crescent
ember crescent
# warm kernel

so I would create a veriable named port and set it to 8080??

warm kernel
warm kernel
#

but in caps

#

PORT

ember crescent
#

its working

warm kernel
#

perfect