/kohrsupply

crowd logistics at a human scale

Primary LanguagePythonMIT LicenseMIT

kohrsupply

kohrsupply is a platform to accompany and manage relays of physical transportations. Its a very alpha prototype for ptarp.

You should send things from Alice to Bob, but transported from Carol, stocked by Erin, again transported by Frank to Peggy and finaly delivered by Wendy. Read more in about (currently only in german)

kohrsupply is made with django

Demo: kohr.supply

install

download or checkout

pip3 install -r requirements.txt
mv settings.example.py settings.py

Prepare this and change in 'settings.py':

  • change the SECRET_KEY
  • set DEBUG
  • add your ALLOWED_HOSTS
  • ad SITE_ID
  • set STATIC_ROOT to the path for webassets (css, js) (STATIC_URL must stay '/static/')

test database

CREATE SQLite Database

python3 manage.py migrate

use example db

sqlite3 db.sqlite3 < kohrsupply/example/db.sql