mercredi 24 août 2016

How open multiples projects in my browser with Laravel+Homestead in Windows

Honestly i installed homestead+laravel in windows and i don't how configure it. because i created other project and i can't open my other one i just open the first project and i run some commands vagrant reload provision

hosts
C:\Windows\System32\drivers\etc
Copyright (c) 1993-2009 Microsoft Corp.
#
This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
This file contains the mappings of IP addresses to host names. Each
entry should be kept on an individual line. The IP address should
be placed in the first column followed by the corresponding host name.
The IP address and the host name should be separated by at least one
space.
#
Additionally, comments (such as these) may be inserted on individual
lines or following the machine name denoted by a '#' symbol.
#
For example:
#
102.54.94.97 rhino.acme.com # source server
38.25.63.10 x.acme.com # x client host
localhost name resolution is handled within DNS itself.
#127.0.0.1 localhost
#::1 localhost
127.0.0.1 homestead.app 
127.0.0.1 dev.app
192.168.10.10 peliroja.app
my C:\Users\e.herrera.homestead
Homestead.yaml 
ip: "192.168.10.10" 
memory: 2048 
cpus: 1 
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub
keys: - ~/.ssh/id_rsa
folders: 
- map: C:\Users\e.herrera\Desktop\laravel\Code 
to: /home/vagrant/Code
sites: 
- map: dev.app 
to: /home/vagrant/Code/myfirstsitelaravel/public 
- map: larabook.app 
to: /home/vagrant/Code/laracast/public
databases: - homestead
#blackfire:
#- id: foo
#token: bar
#client-id: foo
#client-token: bar
#ports:
#- send: 50000
#to: 5000
#- send: 7777
#to: 777
#protocol: udp
I'm using laravel+homestead in windows
where i create my projects C:\Users\e.herrera\Desktop\laravel\Code 
where i have my homestead C:\Users\e.herrera\Homestead 


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire