Closed mikejamesthompson closed 8 months ago
If this is the kind of thing that you'd like to merge into the repo then I'd be happy to also contribute documentation changes as well.
Thanks, looks good! Happy to merge with doc changes :)
Thanks, looks good! Happy to merge with doc changes :)
I was thinking of these docs but can't find them in this repo and I'm not sure what else I would update. Can you point me in the right direction please 🙏 ?
Sure, it looks like they're the gh-pages
branch of this repo.
Sure, it looks like they're the
gh-pages
branch of this repo.
Ok, I'll need to do that in a separate PR.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
6b66c97
) 74.66% compared to head (aba534a
) 74.97%. Report is 4 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Just looking at this now, and an issue is that gunicorn isn't a necessary component of mapit itself, so I'm not sure we want that in install_requires - because it doesn't. Could that be taken out of there, and put back in site-specific-install.sh - but installed into the virtual env as you suggest, rather than installed with apt?
Yes, fair enough.
I've added a couple of commits that make that change, PTAL.
Thanks :)
This PR attempts to fix the automated installation script for MapIt on more recent versions of Ubuntu (but not Jammy, 22.04) and Debian Linux.
I have confirmed the installation succeeds on clean installs of Ubuntu Focal (20.04) and Debian Bullseye (11) on Amazon EC2 instances at the default hostname, and tested subsequent loading of boundary data works on Debian Bullseye.
It does not appear to work automatically on Ubuntu Jammy (22.04) because of changes in
apt-get install
behaviour, I think related to theneedrestart
command, but I haven't had time to investigate this properly.To use this version of the install script, you can use the override behaviour in the
install-site.sh
script. Run the following commands:Changes are explained in commit messages.