mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Database build script.
This commit is contained in:
parent
b905824d50
commit
c3da37c0b0
5 changed files with 57 additions and 26 deletions
24
README.md
24
README.md
|
|
@ -13,21 +13,11 @@ A detailed getting started guide can be found at [https://umami.is/docs/](https:
|
|||
- A server with Node.js 10.13 or newer
|
||||
- A database (MySQL or Postgresql)
|
||||
|
||||
### Get the source code
|
||||
### Get the source code and install packages
|
||||
|
||||
```
|
||||
git clone https://github.com/mikecao/umami.git
|
||||
```
|
||||
|
||||
### Go into the repo folder
|
||||
|
||||
```
|
||||
cd umami
|
||||
```
|
||||
|
||||
### Install packages
|
||||
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
|
|
@ -70,18 +60,8 @@ The `HASH_SALT` is used to generate unique values for your installation.
|
|||
|
||||
### Generate database client
|
||||
|
||||
Depending on your database type, run the appropriate script.
|
||||
|
||||
For MySQL:
|
||||
|
||||
```
|
||||
npm run build-mysql-client
|
||||
```
|
||||
|
||||
For Postgresql:
|
||||
|
||||
```
|
||||
npm run build-postgresql-client
|
||||
npm run build-db-client
|
||||
```
|
||||
|
||||
### Create a production build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue