Myanmar Coder Guide

Course Outline from w3school.com

Monday, January 11, 2021

configuration

Tags Laravel Configuration

Environment Variable Setup

Run application after cloning from GitHub

  • 🍁🍁Step 1 : Clone the application

    /home/hareom284/testing

    • git clone https://github.com/hareom284/testing.git
    • cd testing
  • 🍁🍁 Step 2

    /home/hareom284/testing

    • composer install
    • cd testing
  • 🍁🍁Step 3: .env.example α€€ α€”ေ .env α€€ို copy α€€ူး α€–ို့ α€œို ပါ α€α€š်။ Command line α€žုံး ပြီး copy α€€ူး α€™α€š် ဆိုရင်
    In windows:

    /user/hareom284/testing

    • copy .env.example .env
    In linux :

    /home/hareom284/testing

    • cp .env.example .env
  • 🍁🍁Step 4 .env file α€€ို α€–ွင့်ပြီး α€€ို α€žုံး ချင်α€žော database name(DB_DATABASE) , database user(DB_USERNAME) and password (DB_PASSWORD)α€€ို α€€ို α€‘α€Š့် ပါ။
  • 🍁🍁Step 5

    /home/hareom284/testing

    • php artisan key:generate
  • 🍁🍁Step 6

    /home/hareom284/testing

    • php artisan migrate
  • 🍁🍁Step 7

    /home/hareom284/testing

    • php artisan serve

Now you can run your application.

No comments:

Post a Comment