mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
24d111c4c5
We've been caught out here, we added a migration that used PG>=11 syntax, but our docs still state that we support v10, when it reached EoL Nov 2022. This updates our docs to state v14 and newer, v14 came out in 2021 and as such won't be EoL until 2026 according to [Postgres 5 year versioning scheme support](https://www.postgresql.org/support/versioning/)
24 lines
611 B
Markdown
24 lines
611 B
Markdown
---
|
|
title: Database Setup
|
|
---
|
|
|
|
To run Unleash you need to have PostgreSQL database (PostgreSQL v14.x or newer).
|
|
|
|
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)
|