add more visible warning regarding app_key backup

This commit is contained in:
Jakob 2018-12-16 16:59:07 +01:00 committed by GitHub
parent 9f7b106d4f
commit 99313bf379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.