docs/install: Move user creation after installing deps

This commit is contained in:
Norm 2022-08-03 22:39:35 +00:00 committed by Francis Dinh
parent 617f064d61
commit 2e94ea3adc
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

@ -4,13 +4,6 @@ This guide will assume that you have administrative rights, either as root or a
This guide will also assume you're using Debian or a derivative like Ubuntu. If you are using another OS, you will need to adapt the comamnds and package names to match those that your OS uses. This guide will also assume you're using Debian or a derivative like Ubuntu. If you are using another OS, you will need to adapt the comamnds and package names to match those that your OS uses.
## Create FoundKey user
Running FoundKey as root is not a good idea. Create a separate user to run FoundKey.
```sh
adduser --disabled-password --disabled-login foundkey
```
## Install dependencies ## Install dependencies
FoundKey requires the following packages to run: FoundKey requires the following packages to run:
@ -38,6 +31,13 @@ apt install ffmpeg
corepack enable # for yarn corepack enable # for yarn
``` ```
## Create FoundKey user
Create a separate non-root user to run FoundKey:
```sh
adduser --disabled-password --disabled-login foundkey
```
## Install FoundKey ## Install FoundKey
1. Login to the `foundkey` user 1. Login to the `foundkey` user