User Tools

Site Tools


laravel:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
laravel:start [2016/08/30 00:15]
dwheele
laravel:start [2016/12/22 01:22] (current)
dwheele
Line 5: Line 5:
   * https://laravel.com   * https://laravel.com
   * http://dancoivan/laravelcheatsheet/ (Local copy of Laravel 5.1 Cheat Sheet app)   * http://dancoivan/laravelcheatsheet/ (Local copy of Laravel 5.1 Cheat Sheet app)
 +  * [[eloquent|Eloquent Database Interaction Notes]]
  
 Installed Laravel **5.2.34** Installed Laravel **5.2.34**
Line 79: Line 80:
  
 ===== VirtualBox-Vagrant Installation ===== ===== VirtualBox-Vagrant Installation =====
 +
 +Why use VirtualBox-Vagrant? Explanation: https://www.sitepoint.com/re-introducing-vagrant-right-way-start-php/
  
 Following the instructions here: https://laravel.com/docs/5.2/homestead#installation-and-setup Following the instructions here: https://laravel.com/docs/5.2/homestead#installation-and-setup
Line 114: Line 117:
          
 But it doesn't work with putty. Instead, logged in with vagrant:vagrant then changed password to a usual value. But it doesn't work with putty. Instead, logged in with vagrant:vagrant then changed password to a usual value.
 +
 +Helped get the folders setting correct:
 +
 +http://stackoverflow.com/questions/29143680/understanding-the-homestead-yaml-file-in-laravel
  
 8/29/2016 8/29/2016
 +
 +==== Connecting to the Vagrant App with a Browser ====
 +
 +The file ''Homestead.yaml'' contains this part, which exposes "public" with a NGinx web server. I have to map "cantata3" to 192.168.10.10. 9/22/2016
 +
 +I added this to C:\Windows\System32\drivers\etc:
 +
 +<code>
 +192.168.10.10    cantata3
 +</code>
 +
 +I was able to ''ping cantata3'' and get a response. However, visiting ''cantata3/test.htm'' gave **No input file specified.** - not sure why 9/22/2016
 +
 +  * NGinx primer - https://blog.martinfjordvald.com/2010/07/nginx-primer/
 +  * How to solve No Input File Specified problem - https://blog.martinfjordvald.com/2011/01/no-input-file-specified-with-php-and-nginx/
 +
 +Found these instructions (here: https://laravel.com/docs/5.3/homestead), which fixed the problem: 
 +
 +//If you change the sites property after provisioning the Homestead box, you should re-run //
 +<code>
 +vagrant reload --provision
 +</code>
 +//to update the Nginx configuration on the virtual machine.//
 +
  
  
laravel/start.1472516154.txt.gz · Last modified: 2016/08/30 00:15 by dwheele