Skip to content

Commit 481ac82

Browse files
committed
Merge branch 'master' of https://github.com/dtunes/laradock into dtunes-master
* 'master' of https://github.com/dtunes/laradock: 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*
2 parents 613eb1e + 7f540ed commit 481ac82

3 files changed

Lines changed: 31 additions & 30 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
- PHP_VERSION=56
99
- PHP_VERSION=70
1010
- PHP_VERSION=71
11-
- HUGO_VERSION=0.19
11+
- HUGO_VERSION=0.20.2
1212

1313
script: ./travis-build.sh
1414

DOCUMENTATION/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title = "Laradock"
55
theme = "hugo-material-docs"
66
metadataformat = "yaml"
77
canonifyurls = true
8+
uglyurls = true
89
# Enable Google Analytics by entering your tracking id
910
googleAnalytics = "UA-37514928-9"
1011

DOCUMENTATION/content/guides/index.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,10 @@ you should be able to adjust accordingly. This guide was written based on Docker
279279
## hosts
280280
- 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`
281281
On Windows you can find it by opening Windows `Hyper-V Manager`.
282-
- ![Windows Hyper-V Manager](photos/PHPStorm/Settings/WindowsHyperVManager.png)
282+
- ![Windows Hyper-V Manager](images/photos/PHPStorm/Settings/WindowsHyperVManager.png)
283283

284284
- [Hosts File Editor](https://github.com/scottlerch/HostsFileEditor) makes it easy to change your hosts file.
285-
- Set `laravel` to your docker host IP. See [Example](photos/SimpleHostsEditor/AddHost_laravel.png).
285+
- Set `laravel` to your docker host IP. See [Example](images/photos/SimpleHostsEditor/AddHost_laravel.png).
286286

287287

288288
<a name="FireWall"></a>
@@ -428,54 +428,54 @@ If you have enabled `xdebug=true` in `docker-compose.yml/php-fpm`, `xdebug` will
428428
## PHPStorm Settings
429429
- Here are some settings that are known to work:
430430
- `Settings/BuildDeploymentConnection`
431-
- ![Settings/BuildDeploymentConnection](photos/PHPStorm/Settings/BuildDeploymentConnection.png)
431+
- ![Settings/BuildDeploymentConnection](images/photos/PHPStorm/Settings/BuildDeploymentConnection.png)
432432
433433
- `Settings/BuildDeploymentConnectionMappings`
434-
- ![Settings/BuildDeploymentConnectionMappings](photos/PHPStorm/Settings/BuildDeploymentConnectionMappings.png)
434+
- ![Settings/BuildDeploymentConnectionMappings](images/photos/PHPStorm/Settings/BuildDeploymentConnectionMappings.png)
435435
436436
- `Settings/BuildDeploymentDebugger`
437-
- ![Settings/BuildDeploymentDebugger](photos/PHPStorm/Settings/BuildDeploymentDebugger.png)
437+
- ![Settings/BuildDeploymentDebugger](images/photos/PHPStorm/Settings/BuildDeploymentDebugger.png)
438438
439439
- `Settings/EditRunConfigurationRemoteWebDebug`
440-
- ![Settings/EditRunConfigurationRemoteWebDebug](photos/PHPStorm/Settings/EditRunConfigurationRemoteWebDebug.png)
440+
- ![Settings/EditRunConfigurationRemoteWebDebug](images/photos/PHPStorm/Settings/EditRunConfigurationRemoteWebDebug.png)
441441
442442
- `Settings/EditRunConfigurationRemoteExampleTestDebug`
443-
- ![Settings/EditRunConfigurationRemoteExampleTestDebug](photos/PHPStorm/Settings/EditRunConfigurationRemoteExampleTestDebug.png)
443+
- ![Settings/EditRunConfigurationRemoteExampleTestDebug](images/photos/PHPStorm/Settings/EditRunConfigurationRemoteExampleTestDebug.png)
444444
445445
- `Settings/LangsPHPDebug`
446-
- ![Settings/LangsPHPDebug](photos/PHPStorm/Settings/LangsPHPDebug.png)
446+
- ![Settings/LangsPHPDebug](images/photos/PHPStorm/Settings/LangsPHPDebug.png)
447447
448448
- `Settings/LangsPHPInterpreters`
449-
- ![Settings/LangsPHPInterpreters](photos/PHPStorm/Settings/LangsPHPInterpreters.png)
449+
- ![Settings/LangsPHPInterpreters](images/photos/PHPStorm/Settings/LangsPHPInterpreters.png)
450450
451451
- `Settings/LangsPHPPHPUnit`
452-
- ![Settings/LangsPHPPHPUnit](photos/PHPStorm/Settings/LangsPHPPHPUnit.png)
452+
- ![Settings/LangsPHPPHPUnit](images/photos/PHPStorm/Settings/LangsPHPPHPUnit.png)
453453
454454
- `Settings/LangsPHPServers`
455-
- ![Settings/LangsPHPServers](photos/PHPStorm/Settings/LangsPHPServers.png)
455+
- ![Settings/LangsPHPServers](images/photos/PHPStorm/Settings/LangsPHPServers.png)
456456
457457
- `RemoteHost`
458458
To switch on this view, go to: `Menu/Tools/Deployment/Browse Remote Host`.
459-
- ![RemoteHost](photos/PHPStorm/RemoteHost.png)
459+
- ![RemoteHost](images/photos/PHPStorm/RemoteHost.png)
460460
461461
- `RemoteWebDebug`
462-
- ![DebugRemoteOn](photos/PHPStorm/DebugRemoteOn.png)
462+
- ![DebugRemoteOn](images/photos/PHPStorm/DebugRemoteOn.png)
463463
464464
- `EditRunConfigurationRemoteWebDebug`
465465
Go to: `Menu/Run/Edit Configurations`.
466-
- ![EditRunConfigurationRemoteWebDebug](photos/PHPStorm/Settings/EditRunConfigurationRemoteWebDebug.png)
466+
- ![EditRunConfigurationRemoteWebDebug](images/photos/PHPStorm/Settings/EditRunConfigurationRemoteWebDebug.png)
467467
468468
- `EditRunConfigurationRemoteExampleTestDebug`
469469
Go to: `Menu/Run/Edit Configurations`.
470-
- ![EditRunConfigurationRemoteExampleTestDebug](photos/PHPStorm/Settings/EditRunConfigurationRemoteExampleTestDebug.png)
470+
- ![EditRunConfigurationRemoteExampleTestDebug](images/photos/PHPStorm/Settings/EditRunConfigurationRemoteExampleTestDebug.png)
471471
472472
- `WindowsFirewallAllowedApps`
473473
Go to: `Control Panel\All Control Panel Items\Windows Firewall\Allowed apps`.
474-
- ![WindowsFirewallAllowedApps.png](photos/PHPStorm/Settings/WindowsFirewallAllowedApps.png)
474+
- ![WindowsFirewallAllowedApps.png](images/photos/PHPStorm/Settings/WindowsFirewallAllowedApps.png)
475475
476476
- `hosts`
477477
Edit: `C:\Windows\System32\drivers\etc\hosts`.
478-
- ![WindowsFirewallAllowedApps.png](photos/PHPStorm/Settings/hosts.png)
478+
- ![WindowsFirewallAllowedApps.png](images/photos/PHPStorm/Settings/hosts.png)
479479
480480
- [Enable xDebug on php-fpm](#enablePhpXdebug)
481481
@@ -497,7 +497,7 @@ If you have enabled `xdebug=true` in `docker-compose.yml/php-fpm`, `xdebug` will
497497
- right-click on `tests/ExampleTest.php`
498498
- Select: `Debug 'ExampleTest.php'`.
499499
- Should have stopped at the BreakPoint!! You are now debugging locally against a remote Laravel project via SSH!
500-
- ![Remote Test Debugging Success](photos/PHPStorm/RemoteTestDebuggingSuccess.png)
500+
- ![Remote Test Debugging Success](images/photos/PHPStorm/RemoteTestDebuggingSuccess.png)
501501
502502
503503
<a name="UsagePHPStormDebugSite"></a>
@@ -508,13 +508,13 @@ If you have enabled `xdebug=true` in `docker-compose.yml/php-fpm`, `xdebug` will
508508
`.php-fpm/xdebug stop`
509509
510510
- Start Remote Debugging
511-
- ![DebugRemoteOn](photos/PHPStorm/DebugRemoteOn.png)
511+
- ![DebugRemoteOn](images/photos/PHPStorm/DebugRemoteOn.png)
512512
513513
- Open to edit: `bootstrap/app.php`
514514
- Add a BreakPoint on line 14: `$app = new Illuminate\Foundation\Application(`
515515
- Reload [Laravel Site](http://laravel/)
516516
- Should have stopped at the BreakPoint!! You are now debugging locally against a remote Laravel project via SSH!
517-
- ![Remote Debugging Success](photos/PHPStorm/RemoteDebuggingSuccess.png)
517+
- ![Remote Debugging Success](images/photos/PHPStorm/RemoteDebuggingSuccess.png)
518518
519519
520520
<a name="SSHintoWorkspace"></a>
@@ -533,14 +533,14 @@ Assuming that you are in laradock folder, type:
533533
[Kitty](http://www.9bis.net/kitty/) KiTTY is a fork from version 0.67 of PuTTY.
534534
535535
- Here are some settings that are working for me:
536-
- ![Session](photos/KiTTY/Session.png)
537-
- ![Terminal](photos/KiTTY/Terminal.png)
538-
- ![Window](photos/KiTTY/Window.png)
539-
- ![WindowAppearance](photos/KiTTY/WindowAppearance.png)
540-
- ![Connection](photos/KiTTY/Connection.png)
541-
- ![ConnectionData](photos/KiTTY/ConnectionData.png)
542-
- ![ConnectionSSH](photos/KiTTY/ConnectionSSH.png)
543-
- ![ConnectionSSHAuth](photos/KiTTY/ConnectionSSHAuth.png)
544-
- ![TerminalShell](photos/KiTTY/TerminalShell.png)
536+
- ![Session](images/photos/KiTTY/Session.png)
537+
- ![Terminal](images/photos/KiTTY/Terminal.png)
538+
- ![Window](images/photos/KiTTY/Window.png)
539+
- ![WindowAppearance](images/photos/KiTTY/WindowAppearance.png)
540+
- ![Connection](images/photos/KiTTY/Connection.png)
541+
- ![ConnectionData](images/photos/KiTTY/ConnectionData.png)
542+
- ![ConnectionSSH](images/photos/KiTTY/ConnectionSSH.png)
543+
- ![ConnectionSSHAuth](images/photos/KiTTY/ConnectionSSHAuth.png)
544+
- ![TerminalShell](images/photos/KiTTY/TerminalShell.png)
545545
546546

0 commit comments

Comments
 (0)