> $ homestead ssh
6. This will create a new SSH session and log us in to the running Homestead
VM instance. We can now run a Composer command to create a brand new
Laravel project as follows:
$ cd /home/vagrant/Code/furbook.com
$ composer create-project laravel/laravel . --prefer-dist
This will create a new Laravel skeleton project, as well as download all of the
libraries that make up the Laravel framework.
Summary
In this chapter, we have begun working with the command line. We've installed
Composer and looked at how a dependency manager such as Composer aids
development by utilizing prebuilt packages in our projects (of which the Laravel
framework is one). We've looked at the concept of virtual machines for developing
in, and taken a look and installed the official Laravel VM: Homestead.
The next chapter is where the fun begins! Now that we have a complete development
environment set up and a fresh Laravel application created, we will go through the
different steps involved in creating a complete Laravel application.
Do'stlaringiz bilan baham: |