Skip to main content

Panel Setup

The core environment is easily configured using a single CLI command & the web installer built into the app.

This step will cover setting up things such as sessions, caching, database credentials, and email sending.

Running php artisan p:environment:setup will, if it does not exist, auto create the required .env file and generate a APP_KEY.

Want to use MySQL/ MariaDB?

Make sure to read the MySQL guide first if you want to use MySQL/ MariaDB instead of SQLite!

php artisan p:environment:setup
BACK UP APP_KEY!

Back up your encryption key (APP_KEY in the .env file). This is used as an encryption key for all data that needs to be stored securely (e.g. api keys). Store it somewhere safe - not just on your server. If you lose it all encrypted data is irrecoverable -- even if you have database backups.

Setting Permissions

The next stop in the installation process is to set the correct permissions on the Panel files so that the webserver can use them correctly.

chmod -R 755 storage/* bootstrap/cache/
chown -R www-data:www-data /var/www/pelican

Web-Installer

Once you've set the proper permissions & created the Cron & Queue worker, continue the Panel install on the web interface.

Located at <domain>/installer or <ip>/installer