Kartpool
Community driven delivery platform for the ones who need it the most
This repository contains the project files for the blog post:
Thinking of building a contact-tracing application? Here's what you can do instead.
Fork this repository, read the blog post and follow the tutorial to build the app!
App Screenshot
Instructions to install
-
Install PostgreSQL and PostGIS I highly recommend a Docker installation:
- Install Docker
- Download and run the official PosgreSQL/PostGIS docker image
Alternatively, you can perform an installation directly on the host operating system:
-
Install
python3.7andpip3 -
Install GDAL (Required for Django to interface with PostGIS)
sudo apt-get install libpq-dev python-devsudo apt-get install binutils libproj-dev gdal-bin
-
Create a python virtual environment using
venvpython -m venv ~/python-virtual-environments/kartpool -
Activate virtual environment
source ~/python-virtual-environments/kartpool/bin/activate -
Install Django and other dependencies
pip install -r requirements.text
Instructions to run
-
Start PostgreSQL database service If you installed via docker, run
docker run --name kartpool-postgis -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgis/postgis -
Start Django web server (Make sure the virtual environment is activated)
python manage.py runserver -
Follow the tutorial!
To write psql queries
- SSH into your Postgres docker container:
docker exec --user postgres -it kartpool-postgis /bin/bash(Skip this step if you have a native PostgreSQL installation) - Run
psqlon the terminal
Once you connect to the database, enable the PostGIS extension by typing enable extension postgis
Credits
I've had much help from this excellent tutorial
Have any questions?
Say hi 👋 on:

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.


