A platform where people can trade their plants. You can post what you have and search for others with filters. The aim is to make it easier to trade plants and collect as few data as possible. Only the email/username and a postal code is required. https://pflaenz.li
Find a file
Jannis Portmann 1e5b198f91
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing
continuous-integration/drone Build is passing
Merge pull request 'Update and fix plz' (#31) from dev into main
Reviewed-on: #31
2024-02-10 12:47:23 +01:00
pflaenzli Implement new PLZ index 2024-02-10 12:20:24 +01:00
.dockerignore Docker setup 2023-04-07 10:58:28 +02:00
.drone.yml Update names 2023-07-08 18:05:27 +02:00
.gitignore Ignore generated files 2023-05-19 10:59:16 +02:00
COLORS.md Add new style 2023-07-08 16:51:07 +02:00
default Set access log 2023-04-16 00:43:29 +02:00
docker-compose.yml Set debug via env 2023-04-08 12:22:19 +02:00
Dockerfile Pull translations on startup 2023-05-17 12:37:59 +02:00
entrypoint.sh Implement new PLZ index 2024-02-10 12:20:24 +01:00
Jenkinsfile Update repo 2023-04-18 21:35:12 +02:00
LICENSE Add AGPLv3 2023-04-01 12:14:05 +02:00
README.md Implement new PLZ index 2024-02-10 12:20:24 +01:00
requirements.txt Update requirements 2024-02-10 12:23:03 +01:00

Pflänz.li

License: AGPL v3 Build Status

Idea

A platform where people can trade their plants. You can post what you have and search for others with filters. The aim is to make it easier to trade plants and collect as few data as possible. Only the email/username and a postal code is required.

Tech stack

Admin dashboard

Find it under /admin

Filters

Implemented

  • Distance between postal codes
  • Search within title

Ideas

It would be nice to have categories somehow, but it would be hard to make it comprehensive.

⚠️ This list is work in progress!

Searching with filters such as:

Filter Name Type Input type
Distance int numfield
ZIP code int numfield
Name string textfield
Category Category dropdown

Setup

When deploying, don't forget to pull the PLZ index and save it to the database using

python manage.py getplzindex --force

Development

To get started with development, see DEVELOPMENT.md

Open Source Data

For calculating distances between zip codes, the Official index of cities and towns including postal codes and perimeter is used.
Source: https://opendata.swiss/en/dataset/amtliches-ortschaftenverzeichnis-mit-postleitzahl-und-perimeter