From 663d4ce5d4c60d462913617ed9bd0fed9ded2ede Mon Sep 17 00:00:00 2001 From: Adam Feldman Date: Fri, 23 Sep 2016 00:36:56 -0500 Subject: [PATCH] Update README to fix persistence config info (it isn't needed!) --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fe4039f..31f7d5f 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,6 @@ Create an Heroku app: heroku create APP_NAME -Add database for persistance: - - heroku addons:create heroku-postgresql:hobby-dev - heroku config:set DATABASE_URL= - Configure the app by providing your broker url (RabbitMQ, Redis, what have you) and a password for logging into Flower: heroku config:set BROKER_URL=redis://... @@ -27,3 +22,5 @@ Push to heroku: git push heroku master Now visit the app. It will ask for a username and a password which you defined above. + +Although Flower's persistence is enabled, it depends on writing to the local filesystem, [which is ephemeral on Heroku](http://stackoverflow.com/questions/12416738/how-to-use-herokus-ephemeral-filesystem). Therefore the persisted data will be lost when your Heroku Dyno restarts, for example after deploying config or code changes. However Flower persistence is [mostly a convenience feature](http://flower.readthedocs.io/en/latest/config.html#persistent).