#Can't find how to deploy on a subdirectory

7 messages · Page 1 of 1 (latest)

latent herald
#

Hello,
I have a Github project which is hosted and deployed with Railway.
Railway provided me this public domain :
https://waste-pilot-kpi-production.up.railway.app
But I would like to deploy my project on a subdirectory of this subdomain:
https://waste-pilot-kpi-production.up.railway.app/kpi-project
(it's a React app, so I would like to have the build directory in this subdirectory)
I saw in documentation that there should be a "Root directory" field in the Build section of the settings but I can't find it...
Can someone help on this one ?
Thanks in advance

projectid : 57b752b6-6906-4c67-80d2-3f2901533640

stray flintBOT
#

Project ID: 57b752b6-6906-4c67-80d2-3f2901533640

dim charm
#

please share your repo

latent herald
#

Hey @dim charm , thanks for your answer. I can't share my project because it belongs to the company I'm working for. Do you want me to share the package.json file ? or anything ?

dim charm
#

create react app?

latent herald
#

yep

dim charm
#

do you have a nixpacks.toml file and a Caddyfile in your repo?