Reading json files within railway

Anyway to read json files in the environment?
12 Replies
Percy
Percy4mo ago
Project ID: N/A
Lightning
Lightning4mo ago
N/A
Brody
Brody4mo ago
context please?
Lightning
Lightning4mo ago
I wanna be able to read json files within railway because some stuff is being stored in json files.
Brody
Brody4mo ago
may i ask whats stopping you?
Lightning
Lightning4mo ago
Me not knowing how to do it
Brody
Brody4mo ago
im sorry but we dont offer coding help here, there would be endless resources online for how to open files
Lightning
Lightning4mo ago
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
Brody
Brody4mo ago
you want to view the contents of your files in your deployments?
Lightning
Lightning4mo ago
Essentially, I know I can look on my GitHub but json files but json stuff doesn’t update there
Brody
Brody4mo ago
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
Lightning
Lightning4mo ago
I see