Hi Stephen, all,
I have got Miro Community working well with Heroku (the site is at
hdball.com). The only problem is that when a new Heroku 'version' is created, the public site's content gets wiped. The database is still intact though and is viewable in the admin. Making a simple change to one video in the Bulk Edit admin screen reinstates all public content.
I'm still working through the Miro Community code, but I believe it might have something to do with the following:
Caching - Initially I thought the locmem backend setting might have been a problem. Since then I have installed a Heroku cache add-on Memcachier and updated the backend in settings.py. Didn't seem to fix the problem though.
Video feeds/feed generation - perhaps NormalizedVideoList is not being run initially?
Other contenders I haven't looked into: DB indexes and celery tasks.
I have made a rudimentary workaround by saving each Video as part of the index view, which means the first visitor to the index.html site after a new Heroku version is created 'refreshes' the public content. However, this solution obviously is slow, inefficient and won't help if the first visitor after a new version lands on a page other than index.html.
Any suggestions would be appreciated.
Regards,
Jackson