README update
parent
73bd0f460c
commit
bdf2c92951
13
README.md
13
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 :
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue