How to clone laravel from github?

To know how to install Laravel on your computer watch this video

Make sure you have installed git command line before continuing with this instructions.
Steps:
  • Clone a Repository by git clone <repo-name>
  • cd to the cloned folder
  • Then type composer install, It will install the necessary files/folders to it
  • Then rename .env.example .env to rename the .env.example file to .env
  • You need to start Apache and Mysql on XAMPP
  • open the .env file and change the username to root and leave password empty. Rename the database to whatever you want and create a database with that name in PhpMyAdmin
  • Then php artisan key:generate
  • Then php artisan migrate
  • And finally run php artisan serve to open it on localhost:8000
To clone from a branch after the repo-name add -b tag and the branch name
eg git clone <repo-name> -b <branch-name>

Download git command line from here

Comments

  1. Casino in Elgin, Illinois - MapyRO
    Find out 여주 출장안마 which casinos are closest to Casino 1xbet login in Elgin, Illinois, with 아산 출장마사지 detailed reviews, ratings, latest news and tips. Rating: 오산 출장샵 3.2 · ‎28 votes 수원 출장샵

    ReplyDelete

Post a Comment

Popular posts from this blog

RealTime Chat Application using Laravel 5.5

Email verification on Account registration