mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
547e41e566
Unify on PG v13, we had one place recommending v10, release notes for v6 saying we dropped support for v10 through v12 and mentioning 13, and a place mentioning 14 or newer. fixes: #8265 --------- Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
24 lines
581 B
Markdown
24 lines
581 B
Markdown
---
|
|
title: Database Setup
|
|
---
|
|
|
|
To run Unleash you need to have PostgreSQL v13.0+.
|
|
|
|
1. Create a local unleash databases in PostgreSQL
|
|
|
|
```bash
|
|
$ psql postgres <<SQL
|
|
CREATE USER unleash_user WITH PASSWORD 'password';
|
|
CREATE DATABASE unleash;
|
|
GRANT ALL PRIVILEGES ON DATABASE unleash to unleash_user;
|
|
SQL
|
|
```
|
|
|
|
You will now have a PostgreSQL database with the following configuration:
|
|
|
|
- database name: `unleash`
|
|
- username: `unleash_user`
|
|
- password: `password`
|
|
- host: `localhost` (assuming you started it locally)
|
|
- port: `5432` (assuming you are using the default PostgreSQL port)
|