Laravel Tutorial : Use GIT BASH to install and run Laravel
Use GIT BASH to install and run Laravel
You can download GIT from link https://git-scm.com/downloads according to your Operating System.
I downloaded Windows version as I am using Windows 7.
After downloading, open your project folder where you want to install Laravel that must exist in htdocs folder of your Apache Server (Xampp, Wamp etc.)
Then right click anywhere to start GIT BASH
Now you can give "laravel new sitename" command here to install Laravel
I have given "ecom" for my project/website name. You can see Laravel starts installing in Video.
After Laravel get installed, I run it from Git Bash itself by going in "ecom" folder.
See now I right click again to run laravel in ecom folder.
You just need to give "php artisan serve" command to run Laravel.
In my case, my default port is busy so given --port=8010 for new port established for laravel.
After running, you may see error message "No application encryption key has been specified".
To resolve this issue, you need to generate Encryption key for your laravel project.
You need to right click again to open new Git BASH as earlier one was busy in running Laravel so we will give all new commands in seperate GIT Bash.
You will give command "php artisan key:generate" to generate the key and then restart your laravel project again.
Make sure you first close and then start again with command "php artisan serve".
Finally, Laravel in big fonts appears on the browser which means Laravel successfully configured and starts working.
Thanks, Hope it helps for beginners like me :)
Видео Laravel Tutorial : Use GIT BASH to install and run Laravel канала Stack Developers
You can download GIT from link https://git-scm.com/downloads according to your Operating System.
I downloaded Windows version as I am using Windows 7.
After downloading, open your project folder where you want to install Laravel that must exist in htdocs folder of your Apache Server (Xampp, Wamp etc.)
Then right click anywhere to start GIT BASH
Now you can give "laravel new sitename" command here to install Laravel
I have given "ecom" for my project/website name. You can see Laravel starts installing in Video.
After Laravel get installed, I run it from Git Bash itself by going in "ecom" folder.
See now I right click again to run laravel in ecom folder.
You just need to give "php artisan serve" command to run Laravel.
In my case, my default port is busy so given --port=8010 for new port established for laravel.
After running, you may see error message "No application encryption key has been specified".
To resolve this issue, you need to generate Encryption key for your laravel project.
You need to right click again to open new Git BASH as earlier one was busy in running Laravel so we will give all new commands in seperate GIT Bash.
You will give command "php artisan key:generate" to generate the key and then restart your laravel project again.
Make sure you first close and then start again with command "php artisan serve".
Finally, Laravel in big fonts appears on the browser which means Laravel successfully configured and starts working.
Thanks, Hope it helps for beginners like me :)
Видео Laravel Tutorial : Use GIT BASH to install and run Laravel канала Stack Developers
Комментарии отсутствуют
Информация о видео
2 февраля 2018 г. 5:50:45
00:11:22
Другие видео канала