Skip to main content
Use the web installer whenever you can. It creates the admin account, stores the license and runs the seeders for you. Use this page only when the installer cannot write its files, or when you prefer the command line.
Never run php artisan migrate:fresh, migrate:refresh, migrate:reset or db:wipe on a database that holds data. They delete every table. Run php artisan migrate to apply new migrations.

Steps

1

Upload the files

Upload the application to the folder your domain points to. Include hidden files such as .env.example and .htaccess.
2

Install the PHP dependencies

From the project folder, run:
3

Create the .env file

Copy .env.example to .env, then set at least these values:
Keep APP_DEBUG=false on a live site. Debug pages can show database details to visitors.
4

Generate the application key

5

Create the tables and seed the defaults

The seeders add the roles, the payment gateway list, the default text and image models, the art styles and the finance settings.
6

Create the first admin

The web installer creates the admin account. Without it, create a user and give that user the admin role, for example in php artisan tinker with $user->assignRole('admin'). The admin role exists after the seeders have run.
7

Activate the license

Sign in as the admin and open Platform → Activation. Enter the license key and the Envato username, then click Activate License. See License activation.
8

Add the cron job

Add the cron line from Cron and queue.

Permissions

The web server user must be able to write to storage/ and bootstrap/cache/, and to public/uploads/ for logos and media. Everything else can stay read-only.

Next

Continue with the post-install checklist.