LEMPer
LEMPer copied to clipboard
Add support for local/development domain
Currently LEMPer CLI doesn't yet support local domain configuration, for example using domain name with .local / .app extension for local development purpose. So, we can access our local development stack at http://some-aplication.local or http://some-aplication.app.
But, due to the fact that LEMPer also doesn't yet include DNS server. It'd require another approach.
.app domain has already used by Google, we will not use it for local domain. As an alternative we can use .test for local domain.
Laravel Valet is good example to adopt
Ref: https://laravel.com/docs/6.x/valet
Source (in PHP) https://github.com/laravel/valet
Implementation must be initialized when v2.0.x is available
Use dnsmasq
Doc: https://thekelleys.org.uk/dnsmasq/doc.html
Sample config: https://github.com/aviddiviner/til/blob/master/devops/set-up-a-local-test-domain-with-dnsmasq.md
Current solution as mentioned in issue #85