1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/website/docs/using-unleash/deploy/database-setup.md
Christopher Kolstad 547e41e566
docs: recommend PG v13 or later (#8276)
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>
2024-09-26 14:38:00 +02:00

581 B

title
Database Setup

To run Unleash you need to have PostgreSQL v13.0+.

  1. Create a local unleash databases in PostgreSQL
$ 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)