R
Railway8mo ago
Rapl

Read and write txt file in repository

I have a github repository with a python script, Procfile, requirements.txt and points.txt but the python file cant write in it
Solution:
use postgres
Jump to solution
16 Replies
Percy
Percy8mo ago
Project ID: 6a4fa19d-db0c-49e4-bdfc-9c2e28bb0788
Rapl
RaplOP8mo ago
6a4fa19d-db0c-49e4-bdfc-9c2e28bb0788
Brody
Brody8mo ago
please provide any errors you are getting
Rapl
RaplOP8mo ago
I am not getting any
Brody
Brody8mo ago
im not too sure how we can help here as "cant write in it" does not give us enough information to go off of
Rapl
RaplOP8mo ago
The python script cannot write and save anything in the text file
Brody
Brody8mo ago
what makes you say that
Rapl
RaplOP8mo ago
huh?
Brody
Brody8mo ago
what makes you say that it cant read and write to the file
Rapl
RaplOP8mo ago
I made a text file in the repository and launched the script to railway, but the python script cannot modify the text file (read, write) which it needs to do to continue it's purpose
Brody
Brody8mo ago
okay hold on, are you expecting your script running on railway to be able to modify the file in github?
Rapl
RaplOP8mo ago
Oh yeah I realized it now Well is there a way to still do it?
Brody
Brody8mo ago
github is not file storage for your deployed app
Solution
Brody
Brody8mo ago
use postgres
Rapl
RaplOP8mo ago
thanks for helping
Brody
Brody8mo ago
no problem!
Want results from more Discord servers?
Add your server