Steps to install the Materialize Laravel on your system🧑💻
To migrate latest version of laravel, follow steps of Migrate Laravel Steps and then go ahead with installation.
Installing and running Materialize is super easy, please follow below steps and you will be ready to rock 🤘
composer install
.env.example
file at root folder and copy it to .env
by running below command Or also can manually copy it (if not having .env
file):cp .env.example .env
php artisan key:generate
node_modules
folder:yarn
Information for vite:
You can use Vite in two modes:
yarn build
yarn dev
php artisan serve
To change the port address, run the following command:
php artisan serve --port=8080 // For port 8080
Watching for changes: If you want to watch all the changes, you make in JavaScript and Styles files then run the following command in the root directory:
yarn dev
yarn watch
If you are facing any issues regarding the permissions, then you need to run the following command in your project directory:
sudo chmod -R o+rw bootstrap/cache
sudo chmod -R o+rw storage
.env
file.DB_CONNECTION = mysql
DB_HOST = 127.0.0.1
DB_PORT = 3306
DB_DATABASE = DATABASE_NAME
DB_USERNAME = DATABASE_USERNAME
DB_PASSWORD = DATABASE_PASSWORD
php artisan migrate
php artisan migrate:fresh
CRUD
app.php artisan db:seed
CRUD
app 👍🏻