README update

This commit is contained in:
root committed 2023-10-17 14:44:18 +02:00
1 parent 73bd0f460c
commit bdf2c92951
2 files changed
+10 -3

No files matched your search

+10 -3
View File
@@ -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 :
Binary file not shown.