add SQLite to README
parent
51114f33b1
commit
1e7becdc34
|
@ -11,7 +11,7 @@ A detailed getting started guide can be found at [https://umami.is/docs/](https:
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- A server with Node.js 12 or newer
|
- A server with Node.js 12 or newer
|
||||||
- A database (MySQL or Postgresql)
|
- A database (MySQL/ Postgresql/ SQLite)
|
||||||
|
|
||||||
### Get the source code and install packages
|
### Get the source code and install packages
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ npm install
|
||||||
|
|
||||||
### Create database tables
|
### Create database tables
|
||||||
|
|
||||||
Umami supports [MySQL](https://www.mysql.com/) and [Postgresql](https://www.postgresql.org/).
|
Umami supports [MySQL](https://www.mysql.com/), [Postgresql](https://www.postgresql.org/) and [SQLite](https://sqlite.org/).
|
||||||
Create a database for your Umami installation and install the tables with the included scripts.
|
Create a database for your Umami installation and install the tables with the included scripts.
|
||||||
|
|
||||||
For MySQL:
|
For MySQL:
|
||||||
|
@ -58,6 +58,8 @@ mysql://username:mypassword@localhost:3306/mydb
|
||||||
|
|
||||||
The `HASH_SALT` is used to generate unique values for your installation.
|
The `HASH_SALT` is used to generate unique values for your installation.
|
||||||
|
|
||||||
|
`DATABASE_URL` will be ignored if database type is sqlite.
|
||||||
|
|
||||||
### Build the application
|
### Build the application
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue