@extends('install.layout') @section('content')

Site & database

First create a database in cPanel → MySQL® Databases: add a database, add a user with a strong password, then Add User To Database with ALL PRIVILEGES. Enter those details below.

Your store

@include('install._field', ['name' => 'store_name', 'label' => 'Store name', 'value' => $old['store_name'] ?? '', 'required' => true]) @include('install._field', ['name' => 'app_url', 'label' => 'Web address', 'type' => 'url', 'value' => $old['app_url'] ?? '', 'required' => true, 'hint' => 'Exactly as customers type it, with https://'])

Database

@include('install._field', ['name' => 'db_database', 'label' => 'Database name', 'value' => $old['db_database'] ?? '', 'required' => true, 'placeholder' => 'cpuser_beauthentic', 'hint' => 'Includes your cPanel prefix']) @include('install._field', ['name' => 'db_username', 'label' => 'Database user', 'value' => $old['db_username'] ?? '', 'required' => true, 'placeholder' => 'cpuser_shop']) @include('install._field', ['name' => 'db_password', 'label' => 'Database password', 'type' => 'password', 'autocomplete' => 'new-password'])
@include('install._field', ['name' => 'db_host', 'label' => 'Host', 'value' => $old['db_host'] ?? 'localhost', 'required' => true, 'hint' => 'Almost always localhost on cPanel']) @include('install._field', ['name' => 'db_port', 'label' => 'Port', 'type' => 'number', 'value' => $old['db_port'] ?? '3306', 'required' => true])

We test the connection (and that the user can create tables) before saving anything. Details are saved to your private .env file.

@endsection