Upgrade hugo to 0.20.2 and added uglyurls = true to fix issues we when upgrading from 0.19 to 0.20 recently, also fixed 404 photos*
This commit is contained in:
		@@ -5,6 +5,7 @@ title = "Laradock"
 | 
			
		||||
theme = "hugo-material-docs"
 | 
			
		||||
metadataformat = "yaml"
 | 
			
		||||
canonifyurls = true
 | 
			
		||||
uglyurls = true
 | 
			
		||||
# Enable Google Analytics by entering your tracking id
 | 
			
		||||
googleAnalytics = "UA-37514928-9"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -279,10 +279,10 @@ you should be able to adjust accordingly. This guide was written based on Docker
 | 
			
		||||
## hosts
 | 
			
		||||
- Add `laravel` to your hosts file located on Windows 10 at `C:\Windows\System32\drivers\etc\hosts`. It should be set to the IP of your running container. Mine is: `10.0.75.2`
 | 
			
		||||
On Windows you can find it by opening Windows `Hyper-V Manager`.
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
 | 
			
		||||
- [Hosts File Editor](https://github.com/scottlerch/HostsFileEditor) makes it easy to change your hosts file.
 | 
			
		||||
    - Set `laravel` to your docker host IP. See [Example](photos/SimpleHostsEditor/AddHost_laravel.png).
 | 
			
		||||
    - Set `laravel` to your docker host IP. See [Example](images/photos/SimpleHostsEditor/AddHost_laravel.png).
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<a name="FireWall"></a>
 | 
			
		||||
@@ -428,54 +428,54 @@ If you have enabled `xdebug=true` in `docker-compose.yml/php-fpm`, `xdebug` will
 | 
			
		||||
## PHPStorm Settings
 | 
			
		||||
- Here are some settings that are known to work:
 | 
			
		||||
    - `Settings/BuildDeploymentConnection`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `Settings/BuildDeploymentConnectionMappings`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `Settings/BuildDeploymentDebugger`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `Settings/EditRunConfigurationRemoteWebDebug`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `Settings/EditRunConfigurationRemoteExampleTestDebug`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `Settings/LangsPHPDebug`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `Settings/LangsPHPInterpreters`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `Settings/LangsPHPPHPUnit`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `Settings/LangsPHPServers`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `RemoteHost`
 | 
			
		||||
        To switch on this view, go to: `Menu/Tools/Deployment/Browse Remote Host`.
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `RemoteWebDebug`
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `EditRunConfigurationRemoteWebDebug`
 | 
			
		||||
        Go to: `Menu/Run/Edit Configurations`.
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `EditRunConfigurationRemoteExampleTestDebug`
 | 
			
		||||
        Go to: `Menu/Run/Edit Configurations`.
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `WindowsFirewallAllowedApps`
 | 
			
		||||
        Go to: `Control Panel\All Control Panel Items\Windows Firewall\Allowed apps`.
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
    - `hosts`
 | 
			
		||||
        Edit: `C:\Windows\System32\drivers\etc\hosts`.
 | 
			
		||||
        - 
 | 
			
		||||
        - 
 | 
			
		||||
 | 
			
		||||
        - [Enable xDebug on php-fpm](#enablePhpXdebug)
 | 
			
		||||
 | 
			
		||||
@@ -497,7 +497,7 @@ If you have enabled `xdebug=true` in `docker-compose.yml/php-fpm`, `xdebug` will
 | 
			
		||||
- right-click on `tests/ExampleTest.php`
 | 
			
		||||
    - Select: `Debug 'ExampleTest.php'`.
 | 
			
		||||
    - Should have stopped at the BreakPoint!! You are now debugging locally against a remote Laravel project via SSH!
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<a name="UsagePHPStormDebugSite"></a>
 | 
			
		||||
@@ -508,13 +508,13 @@ If you have enabled `xdebug=true` in `docker-compose.yml/php-fpm`, `xdebug` will
 | 
			
		||||
`./xdebugPhpFpm stop`
 | 
			
		||||
 | 
			
		||||
- Start Remote Debugging
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
 | 
			
		||||
- Open to edit: `bootstrap/app.php`
 | 
			
		||||
- Add a BreakPoint on line 14: `$app = new Illuminate\Foundation\Application(`
 | 
			
		||||
- Reload [Laravel Site](http://laravel/)
 | 
			
		||||
    - Should have stopped at the BreakPoint!! You are now debugging locally against a remote Laravel project via SSH!
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<a name="SSHintoWorkspace"></a>
 | 
			
		||||
@@ -533,14 +533,14 @@ Assuming that you are in laradock folder, type:
 | 
			
		||||
[Kitty](http://www.9bis.net/kitty/) KiTTY is a fork from version 0.67 of PuTTY.
 | 
			
		||||
 | 
			
		||||
- Here are some settings that are working for me:
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
    - 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user