How to do I change my Python Version on Railway Up and How Do I Access the Project files

I have a Flask App which was working perfectly fine n my local machine, last night i pushed it to Railway, its giving some errors I suspect its the python version, the version I was using on localhost is 3.10, the build version is 3.8 Also I have an sqlite database in the project directory, how will i access the project files so that i will see the databse changes and avoiding memory leaks
Solution:
How to do I change my Python Version
https://nixpacks.com/docs/providers/python#setup
How Do I Access the Project files
file access would have to have been built into your app, and container storage is not persistent, theres no way of accessing the filesystem after the deployment has been made...
Jump to solution
8 Replies
Percy
Percy17mo ago
Project ID: 2e76ad14-b13d-4719-8bc7-53e709a4a729
TheArtfulProgrammer
TheArtfulProgrammerOP17mo ago
2e76ad14-b13d-4719-8bc7-53e709a4a729
Solution
Brody
Brody17mo ago
How to do I change my Python Version
https://nixpacks.com/docs/providers/python#setup
How Do I Access the Project files
file access would have to have been built into your app, and container storage is not persistent, theres no way of accessing the filesystem after the deployment has been made
TheArtfulProgrammer
TheArtfulProgrammerOP17mo ago
Thanks Brody, so there is no kind of SSH Access or something like what Render offers
Brody
Brody17mo ago
there is no ssh and frankly if you need ssh for the things youd typically deploy on railway, you may be doing something wrong
TheArtfulProgrammer
TheArtfulProgrammerOP17mo ago
Ok thanks, I have a sqlite database which was inside the project directory which i would want to see database changes, any advice for me or whats the right thing to do?
Brody
Brody17mo ago
switch to postgres
TheArtfulProgrammer
TheArtfulProgrammerOP17mo ago
Ok thanks lemme check that out,
Want results from more Discord servers?
Add your server