[Expo-tech] Django status update
Philip Sargent (Gmail)
philip.sargent at gmail.com
Wed Jun 26 16:57:33 BST 2019
ooh yes,
"Edit this page" appears for a logged-on user.
I just stumbled on
http://expo.survex.com/admin/core/personexpedition/
which only seems to have data 1976-1983. Another unused fossil?
-----Original Message-----
From: Expo-tech [mailto:expo-tech-bounces at lists.wookware.org] On Behalf Of
Wookey
Sent: 26 June 2019 16:33
To: expo-tech at lists.wookware.org
Subject: Re: [Expo-tech] Django status update
On 2019-06-26 14:07 +0100, Wookey wrote:
> Script is still running...
> Maybe we'll get to the end this time...
It got OOM-killed somewhere near the end. So it looks like 512MB is not
enough for this step. I've asked Phil to turn us up to 1Gb which will
require a reboot.
But enough is set up that django/troggle is now working. Yay!. Try it
yourselves :-)
The server seems to run OK in 512MB.
I did have to add ALLOWED_HOSTS = [u'expo.survex.com'] to settings.py
otherwise django refused to play.
Bit confused as to why this wasn't already in the config? Should it be in
localsettings.py instead?
So. I think we are almost back to where we were before the great server
firewall shutdown. Need to fix Caveview.js and the openlayers map, (and get
enough RAM to run the databasereset)
It's possible that the databasereset issue can be worked around by running
subparts individually?
I may be more like 8 than 7 tonight.
Wookey
--
Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
More information about the Expo-tech
mailing list