Installing laravel with vagrant using visual composer
Installing laravel using visual composer.
Environment setup requirements
Visual studio editor
virtualbox(https://www.virtualbox.org/wiki/Downloads)
vagrant(https://www.vagrantup.com/)
homestead
Composer
https://laravel.com/docs/8.x/homestead
https://www.vagrantup.com/
Installing The Homestead Vagrant Box
Once VirtualBox / VMware and Vagrant have been installed, you should add the laravel/homestead box to your Vagrant installation using the following command in your terminal. It will take a few minutes to download the box, depending on your Internet connection speed:
vagrant box add laravel/homestead
Installing Homestead
You may install Homestead by cloning the repository onto your host machine. Consider cloning the repository into a Homestead folder within your "home" directory, as the Homestead box will serve as the host to all of your Laravel projects:
git clone https://github.com/laravel/homestead.git ~/Homestead
Once you have cloned the Homestead repository, run the bash init.sh command from the Homestead directory to create the Homestead.yaml configuration file. The Homestead.yaml file will be placed in the Homestead directory:
// Mac / Linux...
bash init.sh
// Windows...
init.bat
Create new projects
C:\Users\ajil\Documents\websites> composer global require laravel/installer
C:\Users\ajil\Documents\websites> composer create-project --prefer-dist laravel/laravel cart



Comments
Post a Comment