how to create directories in volume storage ?

Hi, my backend flask will storage files in two different locations and i want to know how i can create directories in volume ?
8 Replies
Percy
Percy3mo ago
Project ID: N/A
Venkat321
Venkat3213mo ago
N/A cant find my project id
Venkat321
Venkat3213mo ago
@Brody Is there a way to do it on railway volume ?
Brody
Brody3mo ago
yes please read that blog, creating directories is not specific to the volume
Venkat321
Venkat3213mo ago
thanks, any other way i can create directories on volume ? any script to run ? or any config i can add on service ?
Brody
Brody3mo ago
all volume access has to be done by the service, your code needs to create the directories if they dont exist
Venkat321
Venkat3213mo ago
Roger that :), thank you