πŸš€Install

we now have a good env to start building our app, so let's start by setup Laravel v9 on our PC

Create a Folder

cd Sites

let's now go and create a new project inside the Sites directory

Install Laravel

composer create-project laravel/laravel vilt

it's working now we have a new database you can check it in your phpmyadmin, now let's link and secure the app

valet link
valet secure

Update .env

now to can go and create a new database you can use Valet+ to do that

for MacOS Users

valet db create vilt

for Linux Users

the last step to run the project is to edit your .env file with the database info and APP_URL.

Clear Cache

Clear cache to reset .env vars

Install VILT

Now Install VILT

it will ask you to select the UI

we are recommending you to use "FilamentUI" because "UI" is still under development

Select Modules

after install ui it will ask you to select plugins you when to install you can enter it like

after the install finish it will ask you to add "FilamentUI" to .env and modules

Run migration

Install Roles

new run this command to generate the main role and generate username and password

Clear View

Run Yarn

before you start building your app assets if you are not using macOS you need to change the path of vite.config.js from .config/valet to .valet because the change of path between OS Like

now install the nodejs packages by use yarn

after install all packages build your view

you can now login to the admin from /admin/login

Email:

Password:


Fix Errors

when you try to access profile you may get an error because of two_factor_confirmed_at filed it's can fix by easy make a new migration and add it

and run migrate

Last updated