Laravel Homestead Vagrant windows setup

video notes:
9:35 editing hosts files
6:13 putty ssh to vagrant server

# start vagrant
# inside C:\Users\username\Desktop\vagrant\Code
$ vagrant up

# the url will be http://homestead.app:8000/

# vagrant for public access
# http://stackoverflow.com/questions/18051760/how-to-access-vagrant-box-in-public-network#answer-18068143

config.vm.network :public_network, ip: "192.168.1.21"

# to allow symbolic links, ln -s
# in windows 7 you need to run the terminal as administrator
https://github.com/cityindex-attic/logsearch/issues/7#issuecomment-19054050

Laravel blade not compiling or showing in browser.

I was having an issue that when I saved a file using winscp to laravel4 the view in the browser would not change. I figured out that laravel view blades caches to app/storage/view and the way it knows whether to recompile it is by the dates the view blade file was changed and the cache file was created. In winscp the cache file was off by an hour ahead.

The way I fixed this was by changing winscp login environment settings to “Preserve Remote Timestamp”

and also adjusting my server time to match the actual time on my other computer.

The server time has to be an earlier time than your computer

Also this was a fix to the issue with sublimetext sftp package sync funcitonality.

Resources:
http://forums.laravel.io/viewtopic.php?id=2550