1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/websitev2/docs/deploy/database-setup.md
Christopher Kolstad 406f0554cf
Docusaurusv2 (#864)
feat: Upgraded to Docusaurus v2

closes: #771
2021-06-04 11:17:15 +02:00

630 B

id title
database-setup Database Setup

To run Unleash you need to have PostgreSQL database (PostgreSQL v10.x or newer).

  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)