Mar 11, 2017
0
Level 1
How to deal with user uploaded images when deploying with rocketeer
Hello,
I have a laravel app where a user can upload images. In my first draw those images are simply stored in an "image" folder under "public". This leads to the problem that the folder will be removed when I deploy via rocketeer on the production server.
My first thought to solve this is to create a task where the image folder will be copied before deployment and then pasted after. But I have the feeling that there should be a more elegant way.
Does anyone know a better practise?
Please or to participate in this conversation.