mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Merge branch 'dev'
This commit is contained in:
commit
1552a3f2f1
2 changed files with 6 additions and 6 deletions
|
|
@ -64,10 +64,10 @@ mysql://username:mypassword@localhost:3306/mydb
|
||||||
### Build the Application
|
### Build the Application
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
*The build step will create tables in your database if you are installing for the first time. It will also create a login user with username **admin** and password **umami**.*
|
_The build step will create tables in your database if you are installing for the first time. It will also create a login user with username **admin** and password **umami**._
|
||||||
|
|
||||||
### Start the Application
|
### Start the Application
|
||||||
|
|
||||||
|
|
@ -75,7 +75,7 @@ npm build
|
||||||
npm run start
|
npm run start
|
||||||
```
|
```
|
||||||
|
|
||||||
*By default, this will launch the application on `http://localhost:3000`. You will need to either [proxy](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/) requests from your web server or change the [port](https://nextjs.org/docs/api-reference/cli#production) to serve the application directly.*
|
_By default, this will launch the application on `http://localhost:3000`. You will need to either [proxy](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/) requests from your web server or change the [port](https://nextjs.org/docs/api-reference/cli#production) to serve the application directly._
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ async function relationalQuery(
|
||||||
sum(coalesce(cast(number_value as decimal(10,2)), cast(string_value as decimal(10,2)))) value
|
sum(coalesce(cast(number_value as decimal(10,2)), cast(string_value as decimal(10,2)))) value
|
||||||
from event_data ed
|
from event_data ed
|
||||||
join website_event we
|
join website_event we
|
||||||
on we.event_id = ed.website_event_Id
|
on we.event_id = ed.website_event_id
|
||||||
and we.website_id = ed.website_id
|
and we.website_id = ed.website_id
|
||||||
join (select website_event_id
|
join (select website_event_id
|
||||||
from event_data
|
from event_data
|
||||||
|
|
@ -398,7 +398,7 @@ async function clickhouseQuery(
|
||||||
li_fat_id != '', 'LinkedIn Ads',
|
li_fat_id != '', 'LinkedIn Ads',
|
||||||
twclid != '', 'Twitter Ads (X)','') name,
|
twclid != '', 'Twitter Ads (X)','') name,
|
||||||
${currency ? 'sum(e.value)' : 'uniqExact(we.session_id)'} value
|
${currency ? 'sum(e.value)' : 'uniqExact(we.session_id)'} value
|
||||||
from model m
|
from model fm
|
||||||
join website_event we
|
join website_event we
|
||||||
on we.created_at = m.created_at
|
on we.created_at = m.created_at
|
||||||
and we.session_id = m.session_id
|
and we.session_id = m.session_id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue