How to use these 100GB in terms of the developer?
I want to download a video, send it and delete it. But I don't know how to choose the right template for railway
17 Replies
Project ID:
N/A
⚠️ experimental feature
N/A
That won’t be a template. You’ll have to build your app from scratch. Save the videos to a pre-made folder and present them to your user
And how to do it? I mean a project from scratch, and how to specify the path to save
that’s something you’ll have to figure out yourself, I can’t walk you through making an entire app
make a github repo and start coding
So I have my own project, I don’t know how to upload it to the railway and use these 100GB to download videos from some platform - send it to the user and delete the video
go to railway, create a new project, link your github repo
once your project is created it’s a matter of coding until it works how you expect it to
I understand, but how will it be saved to the already created
videos
folder? If the video can weigh up to 2 GBthat’s something you’ll have to code on your own
Google is a very helpful tool for figuring out programming questions you may have
Bro, I wrote the code. I need to know where the code will save these videos. Railway allocates us 100GB, and they have some kind of path to the directory anyway
Your questions aren’t very clear. Your code should say where you want the video to be saved. The 100GB refers to all databases and apps hosted on the platform. not a specific folder
I just have an absolute path, but this path is on my PC, but I don’t know how to specify it to work on the railway
also to note, your app likely isn’t allowed on Railway. It sounds like it’s being used to circumvent copyright which is a no no
A specific question! that I can help with. Import the os library then use os.getcwd() to get the current working directory. You can then append any folder name to get to a specific folder
Railway
Terms of Service
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
oh, I get it. Thanks a lot
no problem