summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes.rudolph@gmx.com>2017-12-29 22:19:51 +0100
committerSebastian Reichel <sre@ring0.de>2018-06-28 01:52:53 +0200
commit14c4ab56c2a2aa12b316854a5765d075b9c2801a (patch)
tree08b04ee4619ab15b1823f9a6dd205d8ab7ccd34e /README
parent16e73b8157e1bd1929d0e78d1347be14ab894a8d (diff)
downloadserial-barcode-scanner-14c4ab56c2a2aa12b316854a5765d075b9c2801a.tar.bz2
README: Add demo data
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 4 insertions, 1 deletions
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 ==