Reading json files within railway
Anyway to read json files in the environment?
12 Replies
Project ID:
N/A
N/A
context please?
I wanna be able to read json files within railway because some stuff is being stored in json files.
may i ask whats stopping you?
Me not knowing how to do it
im sorry but we dont offer coding help here, there would be endless resources online for how to open files
I know how to open json files
Let me rephrase
I know how to open json files using code. I’m asking is there anyway to open the file inside of a railway environment
Like viewing the contents inside of it
you want to view the contents of your files in your deployments?
Essentially, I know I can look on my GitHub but json files but json stuff doesn’t update there
that would be funcinatnly your app would need to provide, railway does not provide such a feature because the files in the container are ephemeral
if you need persistant storage make sure you are storing these json files in a volume https://docs.railway.app/guides/volumes
I see