I have installed Homestead 2.0 by following Laracast series (https://laracasts.com/lessons/say-hello-to-laravel-homestead-two)
After using the command of Homestead up, When I visit my project directory which is mentioned in Homestead.yaml it shows that my directory is empty. Even when I ssh to Homestead, Its empty over there as well.
Below is my configuration for homestead.yaml.
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Desktop/Projects
to: /home/vagrant/Projects
sites:
- map: propertybook.app
to: /home/vagrant/Projects/propertybook/public
databases:
- propertybook
variables:
- key: APP_ENV
value: local
And below is the output for homestead up command.
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 80 => 8000 (adapter 1)
default: 443 => 44300 (adapter 1)
default: 3306 => 33060 (adapter 1)
default: 5432 => 54320 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /vagrant => /Users/uzairjawed/.composer/vendor/laravel/homestead
default: /home/vagrant/Projects => /Users/uzairjawed/Desktop/Projects
==> default: Running provisioner: file...
==> default: Running provisioner: shell...
default: Running: inline script
==> default: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjUXY9qzMvqMZ8CrapzlRMk8MB2x7fQoRGkYzBNauvLJVcVpiwUYYpA3OekF2kBGuCd1FIE2VJes//sSjLOTdrxLI+JzdsXvgLMZJYfmewZLxAl/213QrFAXrvkHg+CAMnl5jfdvN79+PASEknz7lG4LFMKxsGcEIk4idLqNNCIiwHL4qXkEixeCoufdJbdk9XxmisGCKxM7YoSIxMYqKkDga22VpqCOrAWbj6YfwPOQrSeY+oAcFclcmcl1scj6oqZhyJPpIqXNCwB5fU4wm83KB/E5Z9XFebR6QUBXjDhR+knR5goZ0+RGCuctPLJwxqX8ly6k++fkoIW8HN8JAJ you@homestead
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Running provisioner: shell...
default: Running: inline script
==> default: * Restarting nginx nginx
==> default: ...done.
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 2001
==> default: Running provisioner: shell...
default: Running: /var/folders/lz/r6r1rkr17qjf3k4w6fnlbb3h0000gn/T/vagrant-shell20141129-6656-hd222a.sh
==> default: Warning: Using a password on the command line interface can be insecure.
==> default: Warning: Using a password on the command line interface can be insecure.
==> default: Running provisioner: shell...
default: Running: /var/folders/lz/r6r1rkr17qjf3k4w6fnlbb3h0000gn/T/vagrant-shell20141129-6656-blzcxi.sh
==> default: NOTICE: database "propertybook" does not exist, skipping
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Running provisioner: shell...
default: Running: inline script
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 2143
==> default: Running provisioner: shell...
default: Running: inline script
==> default: You are already using composer version b23a3cd36870ff0eefc161a4638d9fcf49d998ba.
==> default: Running provisioner: shell...
default: Running: /var/folders/lz/r6r1rkr17qjf3k4w6fnlbb3h0000gn/T/vagrant-shell20141129-6656-1o76czv.sh
You still need to 'install' the laravel project(s) using either the laravel installer or composer as described here http://laravel.com/docs/4.2/quick
@gratif I thought with homestead 2 you didn't need to install the project? The tutorial says you don't need to. I'm having an issue where I set up homestead and then go to the folder and there is no laravel installed. I do notice when I do a homestead up whenever there is "Running: inline script" it is followed by "stdin: is not a tty".
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community