Domanda

How to make any DIRECTORY WRITABLE , on heroku ??

because I make an app on facebook , with heroku hosting but there is some DIRECTORY should be WRITABLE to run my app .

thank you

È stato utile?

Soluzione

Heroku doesn't allow you to write directly to the filesystem. It's because of the way they deploy each app as a self-contained 'slug'. If you want to write files you'll need to use something like Amazon's S3 or serialize the data and save it to the database.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top