From 14c4ab56c2a2aa12b316854a5765d075b9c2801a Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Fri, 29 Dec 2017 22:19:51 +0100 Subject: README: Add demo data --- README | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README b/README index fdd141a..8081e65 100644 --- a/README +++ b/README @@ -78,7 +78,10 @@ but you need to modify a few things. * Create user `sqlite3 shop.db "INSERT INTO users (id, email, firstname, lastname) VALUES (1, 'test@tester', 'Firstname', 'Lastname');"` * Setup user password - `mdbus2 -s io.mainframe.shopsystem.Database /io/mainframe/shopsystem/database io.mainframe.shopsystem.Database.SetUserPassword 1 "password"` + `mdbus2 -s io.mainframe.shopsystem.Database /io/mainframe/shopsystem/database io.mainframe.shopsystem.Database.SetUserPassword 1 "password"` + * Demo Data + `sqlite3 shop.db "INSERT INTO categories (name) VALUES ('Getränke')";` + `sqlite3 shop.db "INSERT INTO supplier (name,city,postal_code,street,phone,website) VALUES ('Demo Lieferant','Musterstadt','12345','Musterstraße 5','+49 1234 56789','https://www.ktt.de');"` == Customize Your Shop == -- cgit v1.2.3