diff --git a/readme.md b/readme.md index 19ee9a0..2d8a6a6 100644 --- a/readme.md +++ b/readme.md @@ -16,3 +16,10 @@ useful for development or proxyless deployments. - `products` stores the product list as CSV (`barcode,price,user,name`) - `config` stores configuration parameters as ESV (`key=value`) - `transaction_sound`: URL to sound played when creating a transaction + +## Migration from Strichliste + +``` +curl 'http://strichliste.example.org/api/user?deleted=false' | jq -r '.users.[] | [ 0, "@Potential", .name, .balance, "", "", "" ] | join(",")' > log +curl 'http://strichliste.example.org/api/article' | jq -r '.articles.[] | [ .barcode, .amount, "@Drinks", .name ] | join(",")' > products +```