Birmingham mumbai


Download 1.3 Mb.
Pdf ko'rish
bet47/68
Sana05.01.2022
Hajmi1.3 Mb.
#227543
1   ...   43   44   45   46   47   48   49   50   ...   68
Bog'liq
Laravel 5 Essentials

> $ homestead status

2.  If the status is anything other than running, bring it up with the 

homestead 

reload


 command. We now need to add our site. It will be a browsable 

database of cat profiles, so let's call it "Furbook" and give it the fictional 

domain name of 

furbook.com

.

www.allitebooks.com




Setting Up a Development Environment

[

 22 

]

3.  We can set this up in Homestead by editing the configuration file and adding 

the following mappings:

sites:


    - map: dev.furbook.com

      to: /home/vagrant/Code/furbook.com/public

databases:

    - furbook

4.  Run 

$ homestead reload

, which should reprovision the sites and also 

create a new, empty database.

5.  Now with our workspace prepared, we need to actually create a new Laravel 

project. To do this, we need to SSH into our running VM. Homestead makes 

this incredibly simple:


Download 1.3 Mb.

Do'stlaringiz bilan baham:
1   ...   43   44   45   46   47   48   49   50   ...   68




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling