Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 1.61 KB

README.md

File metadata and controls

67 lines (55 loc) · 1.61 KB

Laravel Indexing Application

This is a Laravel application designed to handle URL indexing using Google's Indexing API. The application integrates OAuth authentication and Amazon S3 for file storage.

Features

  • URL Indexing: Index URLs using Google's Indexing API.
  • OAuth Authentication: Secure authentication using OAuth.
  • Amazon S3 Integration: Store files using Amazon S3.
  • Progress Tracking: Track the progress of URL indexing.
  • Error Handling: Robust error handling and retry mechanisms.

Requirements

  • PHP 8.2 or higher
  • Composer
  • Laravel 11.x or higher
  • Google API Client
  • Guzzle HTTP Client
  • Amazon S3 SDK

Indexing Tutorial coming soon

Installation

  1. Clone the repository:

    git clone https://github.com/rootfebri/search-console-indexing.git
    cd search-console-indexing
  2. Install dependencies:

    composer install
  3. Copy the example environment file and configure it:

    cp .env.example .env
  4. Generate an application key:

    php artisan key:generate
  5. Run database migrations:

    php artisan migrate

Usage

Tip

Best ui with unix shell or WSL on windows

Running the Indexing Command

# To start the indexing process, run the following command:
php artisan indexing
php artisan s3

Caution

To make OAuth, first you need to run this on localhost:80 changing the port to other could be challenging if you are not familiar with google api indexing

sudo php artisan serve --host=localhost --port=80
php artisan add