datalens-ui/README.md
2026-06-24 20:31:05 +05:00

81 lines
1.2 KiB
Markdown

# DataLens
### Prerequisites
[Install docker](https://docs.docker.com/engine/install/)
[Install docker compose plugin](https://docs.docker.com/compose/install/linux/) if it not already installed
### Start project in dev mode
#### In Docker mode (easy-mode):
On Linux systems:
```bash
git clone git@github.com:datalens-tech/datalens.git
cd datalens
./init.sh --ipv6 --docker-ipv6 --dev-light --dev-root --dev-ui
```
On macOS systems:
```bash
git clone git@github.com:datalens-tech/datalens.git
cd datalens
./init.sh --dev-light --dev-ui
```
#### Local mode:
Install Node.js >= v18.17.0 manually or via [node version manager](https://github.com/nvm-sh/nvm).
Start project in dev mode:
```bash
# Start backend for datalens:
git clone git@github.com:datalens-tech/datalens.git
cd datalens
docker compose -f docker-compose.dev.yaml up
# Start datalens ui in dev mode:
git clone git@github.com:datalens-tech/datalens-ui.git
cd ui
pnpm install --frozen-lockfile
pnpm run dev
```
Now you can open datalens in dev mode at [http://localhost:8080](http://localhost:8080)
### Credentials for postgres
Hostname:
```
pg-demo-connection
```
Port:
```
5432
```
Path to database:
```
demo
```
Username:
```
demo
```
Password:
```
demo
```