Month: January 2025

EC2 Deployment Exclusions

User name: Deploy to EC2 on: push: branches: – master # Trigger on push to master branch jobs: deploy: runs-on: ubuntu-latest steps: – name: Checkout code uses: actions/checkout@v2 – name: Set up SSH env: PEM_FILE: ${{ secrets.PEM_FILE }} # Store your PEM file content in GitHub secrets run: | echo "$PEM_FILE" > key.pem chmod 600 […]

Rsync Permission Errors Fix

User rsync: [generator] failed to set times on "/var/www/shareyourthoughts/storage": Operation not permitted (1) rsync: [generator] failed to set times on "/var/www/shareyourthoughts/storage/app": Operation not permitted (1) rsync: [generator] failed to set times on "/var/www/shareyourthoughts/storage/app/private": Operation not permitted (1) rsync: [generator] failed to set times on "/var/www/shareyourthoughts/storage/app/public": Operation not permitted (1) rsync: [generator] failed to set times […]

Add Cookie Consent GTM

User add below in wordpress website header Cookie Consent: <script> </script> GTM: <script> (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-N2WK2N2P'); </script> Assistant To add the Cookie Consent and Google Tag Manager (GTM) code to your WordPress website header, you can follow these steps: 1. **Edit the `header.php` File:** – Go to your WordPress dashboard. – […]

Laravel Breeze Event Broadcasting

User larave breeze blade broadcast event Assistant To broadcast an event in a Laravel Breeze application, you can integrate Laravel's **event broadcasting** system. Here’s a step-by-step guide on broadcasting and handling events in Laravel Breeze with Blade views: — ### **1. Set Up Event Broadcasting** #### **Install and Configure Pusher or Laravel Websockets** 1. **Install […]

Laravel Broadcast Admin Notification

User Notify admin to if anyone post a new post laravel broadcast Assistant To notify the admin when a new post is created in your Laravel application using broadcasting, follow these steps: — ### 1. **Setup Laravel Broadcasting** Ensure Laravel broadcasting is configured correctly: 1. Install Pusher or Redis (or any broadcasting driver you prefer). […]

Private Broadcast Route Admin

User create broadcast route private channel for different admin table laravel Assistant To create a private broadcast route for a different admin table in Laravel, you need to follow these steps: ### 1. **Setup Laravel Echo and Broadcasting** Ensure that Laravel broadcasting is properly configured. In `config/broadcasting.php`, set up your default broadcaster (e.g., Pusher, Redis, […]

AUD Currency Display Issue

User I’ve checked the issue and found that AUD currency is always showing. Whether discount coupon apply or not Could you please provide me more detail about the issue like any video if possible to understand the issue in more detail Correct above sentence? Assistant Here's a corrected version of your sentence: "I've checked the […]

Laravel Broadcasting on EC2

User Laravel broadcasting aws ec2 Assistant To enable Laravel broadcasting on an AWS EC2 instance, follow these steps: — ### 1. **Configure Laravel Broadcasting** Update your Laravel app to use a broadcasting service such as Redis, Pusher, or a self-hosted WebSocket server (e.g., Laravel Echo Server). For this example, we'll assume you're using Redis and […]

Laravel Vue Inertia Setup

User setup laravel vue interia broadcast reverb aws ec2 ubuntu Assistant Setting up Laravel with Vue, Inertia, Broadcast, and Reverb on an AWS EC2 Ubuntu instance involves several steps. Here’s a detailed guide tailored for your environment: — ### **Step 1: Update Your EC2 Instance** 1. Connect to your EC2 instance using SSH: ssh -i […]

Reverb Broadcasting Not Working

User root@ip-172-31-30-116:/var/www/shareyourthoughts# php artisan reverb:start INFO Starting server on 0.0.0.0:6001 (ec2-51-20-60-238.eu-north-1.compute.amazonaws.com). still broadcasting not working Assistant If the Reverb server starts but broadcasting isn't working, here's a checklist to diagnose and resolve the issue: — ### 1. **Check Reverb Configuration** – Open the `config/reverb.php` file and verify the following: – The correct `host` and `port` […]