php - Files from folder with ignored content is deleted when pushing to Herku -


i have php site pushed heroku through git. app saves pictures folder contains .gitignore:

*  !.gitignore 

the folder pushed server , managed save pictures in it. folder gets empty every time push new changes herku

dynos have ephemeral filesystem doesn't persist across deploys (by design).

if intend save files @ saving them amazon s3 using background process.


Comments

Popular posts from this blog

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

Qt4: how to send QString inside a struct via QSharedMemory -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -