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
P
Percy15d ago
Project ID: 6a4fa19d-db0c-49e4-bdfc-9c2e28bb0788
R
Rapl15d ago
6a4fa19d-db0c-49e4-bdfc-9c2e28bb0788
B
Brody15d ago
please provide any errors you are getting
R
Rapl15d ago
I am not getting any
B
Brody15d 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
R
Rapl15d ago
The python script cannot write and save anything in the text file
B
Brody15d ago
what makes you say that
R
Rapl15d ago
huh?
B
Brody15d ago
what makes you say that it cant read and write to the file
R
Rapl15d 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
B
Brody15d ago
okay hold on, are you expecting your script running on railway to be able to modify the file in github?
R
Rapl15d ago
Oh yeah I realized it now Well is there a way to still do it?
B
Brody15d ago
github is not file storage for your deployed app
Solution
B
Brody15d ago
use postgres
R
Rapl15d ago
thanks for helping
B
Brody15d ago
no problem!
Want results from more Discord servers?
Add your server
More Posts
Build PHP 7.3 with Laravel. How can i do it?I have an old application. How can i make build in service?TLS certificate has taken over 24 hours for a custom domainI have 2 custom domains - 1 using a subdomain and 1 using the root. The one on the subdomain is workRedis For Vector Search (GenAI)I have Redis database deployed on Railways Pro plan. I want to add LLM Retrieval Augmented GeneratioWhat is the best way to install private npm packages?My usecase is that my node app needs to install a package from a private github registry. What I wouCron job not running at specific timeHi I have a cron job that should run every hour 0 * * * *. For some reason, it skips runs sometimHow much is Railways scalable?Is there any information how much it is scalable in reality? According to the price, can the serviceCORS Policy problem with backboard.railway.app/graphqlI'm getting a CORS error in my console when using the Railway dashboard. ``` Access to fetch at 'hOutbound ip addressesHi, what are railway's outbound ip addressesBest way to setup back up system for my postgres?Looking to do a backup every X number of hoursRailway <> Hetzner servers cant communicateWe had a deployment running succesfully for the last week today, the railway instances cant communihow to remove docker cache ?it is always just using cache, and not rebuilding correclyDeployment HelpApologies i have 3 things to deploy and i dont know how to do itCannot Access Railway APIJust noticed that I am unable to access the full public API and the GraphQL Playground isn't workingHow do I create a config file?In the [documentation](<https://docs.railway.app/guides/config-as-code>) for Railway configuration fRedis Connection FailureProject ID: d09cd450-b0ba-483f-ae0c-5e329305f433 Redis is refusing connnections.504 Gateway Timeout issueAll of a sudden my production application starts throwing up 504 error. There are no error logs and Vite React ThreejsI copy nixpacks.toml and Caddyfile from this repository <https://github.com/brody192/vite-react-temSQLalchemy could not translate host name "postgres.railway.internal"Basically I'm making a engine with env var stored in DATABASE_PRIVATE_URL that references my PostgreHobby plan timeoutRailway returns a 503 Application failed to respond after 30s, it used to be 5 minutes. Can this be time zoneHow to configure the time zone for my project so that it is UTC-5, which is from Lima, or I have als