Mr Jedi
Mr Jedi

Reputation: 34705

Updating file on heroku server

I deploy python app on heroku. It's doing a very simple thing. Parse HTML, get some data and save in to csv file. When I'm starting it app crush when should write to file (It's works locally). I think heroku prevents from operating files on a server.

How to resolved that?

Upvotes: 0

Views: 610

Answers (1)

CDub
CDub

Reputation: 13354

Heroku is a read-only file system and does not allow writing, except for small temporary files. Heroku recommends S3 for writing files. I've never done this using Python (only Ruby), but the docs seem pretty good.

Upvotes: 3

Related Questions