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 0000000..31f1d46 Binary files /dev/null and b/db.db.admin_example differ