← Back to team overview

ubuntu-accomplishments-contributors team mailing list archive

Re: Web Gallery Staging

 

On 12/19/2012 07:37 AM, Janos Gyerik wrote:
> Jono, Michael: it seems that is still a minor issue with the setup: it
> appears that collectstatic is not run immediately after you pull from
> the trunk. After my last push, the template changes became visible
> quite soon, but the css changes became visible only at the turn of the
> next hour (probably because collectstatic runs hourly). It's as if you
> have multiple cron jobs scheduled to run at different times. This is
> not good, because there is a window during which the site may look
> broken. Please double-check the setup and make sure that manage.py
> collectstatic runs right after bzr pull.

I've changed the crontab to run the bzr pull and collectstatic together,
before touching gallery.wsgi (which is what makes Apache reload it).
That should stop the code and css from getting out of sync at all.

Michael Hall
mhall119@xxxxxxxxxx


References