Appearance
Laravel
Common Deploy Commands
Run after pulling new changes to apply migrations, clear caches, and link storage:
shell
# Run the data loader (if applicable)
pc --profile manual run --rm hris-loader
# Run database migrations
pc exec hris php artisan migrate
# Link public storage
pc exec hris php artisan storage:link
# Clear all caches
pc exec hris php artisan config:clear
pc exec hris php artisan cache:clear
pc exec hris php artisan view:clear
pcis an alias forpodman-compose. See Bash aliases.