mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Added database check.
This commit is contained in:
parent
3122bab419
commit
ac3017b2e4
6 changed files with 104 additions and 40 deletions
10
README.md
10
README.md
|
|
@ -51,15 +51,14 @@ mysql://username:mypassword@localhost:3306/mydb
|
|||
|
||||
The `HASH_SALT` is used to generate unique values for your installation.
|
||||
|
||||
### Check database
|
||||
This will also create a login account with username **admin** and password **umami**.
|
||||
|
||||
### Create database tables
|
||||
|
||||
```bash
|
||||
yarn check-db
|
||||
yarn update-db
|
||||
```
|
||||
|
||||
The database structure will automatically be applied on the first start of Umami.
|
||||
This will also create a login account with username **admin** and password **umami**.
|
||||
|
||||
### Build the application
|
||||
|
||||
```bash
|
||||
|
|
@ -102,6 +101,7 @@ To get the latest features, simply do a pull, install any new dependencies, and
|
|||
git pull
|
||||
yarn install
|
||||
yarn build
|
||||
yarn update-db
|
||||
```
|
||||
|
||||
To update the Docker image, simply pull the new images and rebuild:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue