This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
laravel:start [2016/08/13 01:12] dwheele [VirtualBox-Vagrant Installation] |
laravel:start [2016/12/22 01:22] (current) dwheele |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * https:// | * https:// | ||
| * http:// | * http:// | ||
| + | * [[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? | ||
| Following the instructions here: https:// | Following the instructions here: https:// | ||
| Line 86: | Line 89: | ||
| * ran this from Windows CMD: '' | * ran this from Windows CMD: '' | ||
| * Installed git from https:// | * Installed git from https:// | ||
| - | * Ran | + | * Ran from inside of a Git window |
| <code bash> | <code bash> | ||
| cd ~ | cd ~ | ||
| Line 92: | Line 95: | ||
| </ | </ | ||
| + | then | ||
| + | <code bash> | ||
| + | cd ~/Homestead (probably actually cd \Users\dan\Homestead) | ||
| + | ./init.sh | ||
| + | </ | ||
| + | There are two important areas, one is the '' | ||
| + | |||
| + | The idea here is that there is a virtual machine with PHP, MySQL, and Laravel running. But we access it with virtual directories, | ||
| + | |||
| + | To start Vagrant: | ||
| + | |||
| + | < | ||
| + | cd \Users\dan\Homestead | ||
| + | vagrant up | ||
| + | </ | ||
| + | |||
| + | The command '' | ||
| + | |||
| + | Private key: C:/ | ||
| + | | ||
| + | But it doesn' | ||
| + | |||
| + | Helped get the folders setting correct: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | 8/29/2016 | ||
| + | |||
| + | ==== Connecting to the Vagrant App with a Browser ==== | ||
| + | |||
| + | The file '' | ||
| + | |||
| + | I added this to C: | ||
| + | |||
| + | < | ||
| + | 192.168.10.10 | ||
| + | </ | ||
| + | |||
| + | I was able to '' | ||
| + | |||
| + | * NGinx primer - https:// | ||
| + | * How to solve No Input File Specified problem - https:// | ||
| + | |||
| + | Found these instructions (here: https:// | ||
| + | |||
| + | //If you change the sites property after provisioning the Homestead box, you should re-run // | ||
| + | < | ||
| + | vagrant reload --provision | ||
| + | </ | ||
| + | //to update the Nginx configuration on the virtual machine.// | ||