1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: broken link

This commit is contained in:
Ivar Conradi Østhus 2021-05-21 21:30:29 +02:00
parent 67c03c36d9
commit 13b5bd5154
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09
4 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
---
id: database-setup
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)

View File

@ -11,7 +11,7 @@ You will need:
- [Node.js](https://nodejs.org/en/download/) (version 14 or later)
- [PostgreSQL](https://www.postgresql.org/download/) (version 10 or later)
- [Create an unleash user and database](/docs/developer_guide).
- [Create an unleash user and database](./database-setup).
## Start Unleash server
@ -24,6 +24,7 @@ Once the server has started, you will see the message:
```sh
Unleash started on http://localhost:4242
```
To run multiple replicas of Unleash simply point all instances to the same database.
**Unleash v4:** The first time Unleash starts it will create a default user which you can use to sign-in to you Unleash instance and add more users with:

View File

@ -125,6 +125,9 @@
"deploy/database_backup": {
"title": "Database Backup"
},
"deploy/database-setup": {
"title": "Database Setup"
},
"deploy/email": {
"title": "Email"
},

View File

@ -72,6 +72,7 @@
"deploy/securing_unleash",
"deploy/email",
"deploy/google_auth",
"deploy/database-setup",
"deploy/database_backup",
"deploy/migration_guide",
"deploy/import_export"