mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Updated forms.
This commit is contained in:
parent
48b83d7e41
commit
d3514cfc5f
7 changed files with 47 additions and 17 deletions
42
README.md
42
README.md
|
|
@ -1,8 +1,8 @@
|
|||
# umami
|
||||
|
||||
## Getting started
|
||||
## Installation
|
||||
|
||||
### Install umami
|
||||
### Get the source code
|
||||
|
||||
```
|
||||
git clone https://github.com/mikecao/umami.git
|
||||
|
|
@ -14,10 +14,16 @@ git clone https://github.com/mikecao/umami.git
|
|||
cd umami
|
||||
```
|
||||
|
||||
### Install packages
|
||||
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
### Create database tables
|
||||
|
||||
Umami supports MySQL and Postgresql. Create a database for your Umami
|
||||
installation and install the tables with the included scripts.
|
||||
Umami supports [MySQL](https://www.mysql.com/) and [Postgresql](https://www.postgresql.org/).
|
||||
Create a database for your Umami installation and install the tables with the included scripts.
|
||||
|
||||
For MySQL:
|
||||
|
||||
|
|
@ -47,14 +53,36 @@ postgresql://username:mypassword@localhost:5432/mydb
|
|||
mysql://username:mypassword@localhost:3306/mydb
|
||||
```
|
||||
|
||||
### Start the development server
|
||||
The `HASH_SALT` is used to generate unique session values for your installation.
|
||||
|
||||
### Generate database client
|
||||
|
||||
Depending on your database type, run the appropriate script.
|
||||
|
||||
For MySQL:
|
||||
|
||||
```
|
||||
npm run develop
|
||||
npm run build-mysql-client
|
||||
```
|
||||
|
||||
For Postgresql:
|
||||
|
||||
```
|
||||
npm run build-postgresql-client
|
||||
```
|
||||
|
||||
### Create a production build
|
||||
|
||||
```
|
||||
npm run build
|
||||
```
|
||||
```
|
||||
|
||||
### Start the application
|
||||
|
||||
```
|
||||
npm 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue