## Install/update composer dependecies
#composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
#clear permission cache
php artisan cache:forget spatie.permission.cache

# Clear caches
sudo php artisan cache:clear

# Run database migrations
#php artisan migrate:fresh

# Run seeder
php artisan db:seed --class=PermissionSeeder

# Clear and cache routes
php artisan route:clear

# Clear and cache config
php artisan config:cache

# Clear and cache views
php artisan view:cache

# Clear caches
php artisan cache:clear

php artisan migrate

sudo chmod -R 777 storage/

sudo chmod -R 777 bootstrap/cache/

php artisan optimize:clear

php artisan livewire:publish --config

php artisan livewire:publish --assets

npm install

npm run build
