R
Railway2y ago
x4zx

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
Percy
Percy2y ago
Project ID: N/A
Percy
Percy2y ago
⚠️ experimental feature
x4zx
x4zxOP2y ago
N/A
Adam
Adam2y ago
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
x4zx
x4zxOP2y ago
And how to do it? I mean a project from scratch, and how to specify the path to save
Adam
Adam2y ago
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
x4zx
x4zxOP2y ago
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
Adam
Adam2y ago
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
x4zx
x4zxOP2y ago
I understand, but how will it be saved to the already created videos folder? If the video can weigh up to 2 GB
Adam
Adam2y ago
that’s something you’ll have to code on your own Google is a very helpful tool for figuring out programming questions you may have
x4zx
x4zxOP2y ago
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
Adam
Adam2y ago
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
x4zx
x4zxOP2y ago
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
Adam
Adam2y ago
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
Adam
Adam2y ago
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.
x4zx
x4zxOP2y ago
oh, I get it. Thanks a lot
Adam
Adam2y ago
no problem
Want results from more Discord servers?
Add your server