Environment Variable Setup
Run application after cloning from GitHub
- ππStep 1 : Clone the application
- git clone https://github.com/hareom284/testing.git
- cd testing
-
ππ Step 2
- composer install
- cd testing
- ππStep 3: .env.example α αေ .env αို copy αူး αို့ αို αါ αα်။ Command line αုံး αြီး copy
αူး αα် αိုαα်
In windows:In linux :- copy .env.example .env
- cp .env.example .env
- ππStep 4 .env file αို αွα့်αြီး αို αုံး αျα်αော database name(DB_DATABASE) , database user(DB_USERNAME) and password (DB_PASSWORD)αို αို αα့် αါ။
-
ππStep 5
- php artisan key:generate
-
ππStep 6
- php artisan migrate
-
ππStep 7
- php artisan serve
Now you can run your application.
No comments:
Post a Comment