🥚 A non-commercial shop software http://flohmarkt.monte-ts.de

Marcus Rohrmoser 0c33630e15 - be robust when shop is empty 1 year ago
abrechnung 82685b8af9 . . 2 years ago
app 0c33630e15 - be robust when shop is empty 1 year ago
content 0c33630e15 - be robust when shop is empty 1 year ago
.gitignore 12116e1b42 - avoid new, empty article ids for repeated crons without dumps 2 years ago
Makefile 0c33630e15 - be robust when shop is empty 1 year ago
README.md feaafc4da0 app directory 2 years ago
server.conf 3e4a58c362 🎄 -> 🥚 2 years ago

README.md

The non-commercial shop software.

Can a shop be driven by a privacy-respecting static website with close to no server code and be operated by normal people?

Let me explain how new articles make it into that shop

  1. see the trivial html form content/sachen-spenden that has dump.cgi as action,
  2. that just dumps the form data into a timestamped file to a webserver-writeable location,
  3. take each dump, generate a new article-page and create an email in an imap folder. spende.sh. Triggered by cron,
  4. manually move the email into an 'publish' imap folder,
  5. make all articles from the 'publish' folder visible on the start page. online.sh. Triggered by cron,
  6. keep everything up to date via make