From 99313bf379de4c054333d61fe40e7c2a0b13dc18 Mon Sep 17 00:00:00 2001 From: Jakob Date: Sun, 16 Dec 2018 16:59:07 +0100 Subject: [PATCH] add more visible warning regarding app_key backup --- panel/getting_started.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/panel/getting_started.md b/panel/getting_started.md index e38db2fe..aa082948 100644 --- a/panel/getting_started.md +++ b/panel/getting_started.md @@ -99,8 +99,7 @@ continuing any further. If you are unsure how to do this, please have a look at ::: First we will copy over our default environment settings file, install core dependencies, and then generate a -new application encryption key. **You should make a backup of the encryption key and store it in a secure -location, _not on the server itself_.** +new application encryption key. ``` bash cp .env.example .env @@ -111,6 +110,11 @@ composer install --no-dev --optimize-autoloader php artisan key:generate --force ``` +::: danger +Back up your encryption key (APP_KEY in the `.env` file). It is used as an encryption key for all sensible data (e.g. passwords). +Store it somewhere safe - not just on your server. If you lose it, all encrypted data is useless and can't be restored, even if you have database backups. +::: + ### Environment Configuration Pterodactyl's core environment is easily configured using a few different CLI commands built into the app. This step will cover setting up things such as sessions, caching, database credentials, and email sending.