Skip to main content

Laravel Installation

  1. Start command prompt window or terminal and change directory to laravel.

       cd your-laravel-project
  2. Create database with name "handyman-service" in your sqlyog,laragon,xampp,wamp

    • Open and edit the /.env file and provide your server details:
        APP_URL="https://yourdomain.com"
        DB_CONNECTION="mysql"    
    DB_HOST="127.0.0.1"
    DB_PORT="3306"
    DB_DATABASE="YOUR DATABASE NAME"
    DB_USERNAME="YOUR USERNAME"
    DB_PASSWORD="YOUR PASSWORD"
  3. Run below command in terminal or CMD step by step:

        php artisan config:clear
    php artisan cache:clear
    php artisan route:clear
    php artisan view:clear
    • Once you run the above commands then run this command:
        php artisan optimize
  4. Below command will create the all tables in the specified database.

        php artisan migrate
    • After run above command, you can seen like this in terminal.

    Docusaurus logo

    • You'll be asked one question: Would you like to create it? If you say yes, All database tables will continue to install.

      Note

      You need to add manually two tables for add language feature in your database after migration which we already given with name language_settings.sql and language_statuses.sql

  5. To run project

        php artisan serve
  6. Below are the credentials for both admin and provider login.

        Admin
    admin@gmail.com
    123456
        Provider
    provider@gmail.com
    123456
TIP

After all this, you have to just hit your URL in the browser and go on.