From bdf2c929517c9417f5fb4c155f363402c6f06358 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 17 Oct 2023 14:44:18 +0200 Subject: [PATCH] README update --- README.md | 13 ++++++++++--- db.db.admin_example | Bin 0 -> 12288 bytes 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 db.db.admin_example diff --git a/README.md b/README.md index b4ec6c7..956e392 100644 --- a/README.md +++ b/README.md @@ -38,16 +38,23 @@ virsh net-start bridged virsh net-autostart bridged ``` -## Create Database for user +## Database for users + +A default Database is provided in the git (db.db.admin_example), the default user is admin / admin. +To use this database, just change the name from db.db.admin_example to db.db. + +If you want to create this database by yourself, you can : + +### Create Database for users ```sh sqlite3 db.db -CREATE TABLE user (id INTEGER PRIMARY KEY AUTOINCREMENT, username NVARCHAR(200) NULL, email NVARCHAR(200) NULL, password NVARCHAR(200) NULL; +CREATE TABLE user (id INTEGER PRIMARY KEY AUTOINCREMENT, username NVARCHAR(200) NULL, email NVARCHAR(200) NULL, password NVARCHAR(200) NULL); ``` -## Create first user +### Create first user 1 - Generate encrypted password : diff --git a/db.db.admin_example b/db.db.admin_example new file mode 100644 index 0000000000000000000000000000000000000000..31f1d46c4c4b35f451cb8e1e7af13e403d467636 GIT binary patch literal 12288 zcmeI&&r9P#6bJB`bWwIex|h=H2rjg=NSa@5JsCBu!I;fv<3d4@NoJzOrq!l(Paf(& z-Rn*&9#(`siI?vqGs$G$8_4JOAisVF1s;2q+nVx1c2#A2wM(~~jRt-CwmEZI%6T=kf2ylD ztTh(Q4-@aZ7qck#&)s;$&b$$GFOnaAsPfOfFzK=?w>q7Lzuoxw)Qww)uD4lu5d>W( z3qGE_xpT+M^3QB8-q>tcy*aHv5_KUU009U<00Izz00bZa0SG_<0uXo)ffb=!q}f@G zxG2Wc&2+e#_p@1Xm)?rpI4EzpVLJzgqpR5CQDmL?M-PFu@UM9p?QtU$xn&NdZppqa zEL&Owr{|=qRESKNeUbJ04j-o6%!b39n`uut`XCc_-!`SlpZotcsjuJT192t