mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
b2b19e4970
## About the changes Refactor the main nav, with the following goals: * Communicate the value of each section vs the format (ex: “Understanding Unleash” vs “Topic Guides”) * Make space for the Feature Flag tutorials section that we’re starting to build * Scope updates to navigation and pages that need updates based on new URLs & organization * Update URLs to follow the new hierarchy without breaking links (adding redirects & editing internal links between pages as needed) ### Important files sidebar.js docusaurus.config.js ## Discussion points * Redirects can't be tested out of prod, which is a bummer :/ * Some URLs have been preserved untouched while we monitor for potential negative SEO impact of client-side redirects * It's a large PR (sorry). Nav changes and file movements impacted lots of files. --------- Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
24 lines
611 B
Markdown
24 lines
611 B
Markdown
---
|
|
title: Database Setup
|
|
---
|
|
|
|
To run Unleash you need to have PostgreSQL database (PostgreSQL v10.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)
|