{"action":"created","issue":{"url":"https://api.github.com/repos/lando/lando/issues/880","repository_url":"https://api.github.com/repos/lando/lando","labels_url":"https://api.github.com/repos/lando/lando/issues/880/labels{/name}","comments_url":"https://api.github.com/repos/lando/lando/issues/880/comments","events_url":"https://api.github.com/repos/lando/lando/issues/880/events","html_url":"https://github.com/lando/lando/issues/880","id":312567244,"number":880,"title":"Is the documentation of \"developing offline\" still valid?","user":{"login":"osopolar","id":1523215,"avatar_url":"https://avatars2.githubusercontent.com/u/1523215?v=4","gravatar_id":"","url":"https://api.github.com/users/osopolar","html_url":"https://github.com/osopolar","followers_url":"https://api.github.com/users/osopolar/followers","following_url":"https://api.github.com/users/osopolar/following{/other_user}","gists_url":"https://api.github.com/users/osopolar/gists{/gist_id}","starred_url":"https://api.github.com/users/osopolar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osopolar/subscriptions","organizations_url":"https://api.github.com/users/osopolar/orgs","repos_url":"https://api.github.com/users/osopolar/repos","events_url":"https://api.github.com/users/osopolar/events{/privacy}","received_events_url":"https://api.github.com/users/osopolar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-09T15:01:37Z","updated_at":"2018-04-13T00:12:14Z","closed_at":null,"author_association":"NONE","body":"## Bug Report\r\n\r\nI want to be able to work offline and run lando with the proxyDomain `local`, although I followed the [instructions for *developing offline*](https://docs.devwithlando.io/tutorials/offline-dev.html) I can't get it work.\r\n\r\n* lando version: v3.0.0-beta.39 (installed via homebrew)\r\n* macOS: 10.12.6\r\n* `.lando.yml`:\r\n```yml\r\nname: myapp\r\nrecipe: drupal7\r\nconfig:\r\n  php: '5.6'\r\n  via: apache\r\n  webroot: .\r\n  drush: global:^8.1\r\n  database: mysql:5.6\r\n  xdebug: true\r\nproxy:\r\n  mailhog:\r\n    - mail.myapp.local\r\n  solr:\r\n    - solr.myapp.local:8983\r\nservices:\r\n  mailhog:\r\n    type: mailhog\r\n    hogfrom:\r\n      - appserver\r\n    portforward: 1026\r\n  solr:\r\n    type: solr:7.1\r\n    portforward: 9999\r\n    core: freedom\r\n    config:\r\n      conf: sites/all/etc/solr-conf/7.x\r\n```\r\n\r\n* I followed the [mac specific instructions for *developing offline*](https://docs.devwithlando.io/tutorials/offline-dev.html), but changed localhost to local, see below:\r\n\r\n> ### Mac Specific Instructions\r\n> 1. Ensure you've installed [Homebrew](https://brew.sh/). **✓**\r\n> 2. Install DNSMasq: `brew install dnsmasq` **✓**\r\n> 3. Follow the instructions in the output of `brew info dnsmasq` **✓**\r\n> 4. Add the following line to your `/usr/local/etc/dnsmasq.conf` file: **✓**\r\n> ```\r\n> address=/local/127.0.0.1\r\n> ```\r\n> Sub in your favorite TLD for 'localhost' here if you want to use something more flashy.\r\n> 5. Restart DNSMasq: `brew services restart dnsmasq` **✓**\r\n> 6. For OS X to resolve requests from *.localhost to localhost we need to add a resolver: **✓**\r\n> ```\r\n> sudo mkdir -p /etc/resolver\r\n> sudo nano /etc/resolver/local\r\n> ```\r\n> 7. Add the following line to the local file resolver in /etc/resolver/.\r\n> ```\r\n> nameserver 127.0.0.1\r\n> ```\r\n>   * I was not sure of the file needs to be named `local` or `localhost`, I created both with same content **✓**\r\n> 8. Reboot OS X to enable the new resolver. **✓**\r\n> 9. Flush your DNS, just to be sure that your browsers use the new dns **✓**\r\n> directives.\r\n> ```\r\n> sudo dscacheutil -flushcache\r\n> sudo killall -HUP mDNSResponder\r\n> ```\r\n> 10. Open your `~/.lando/config.yml` file and add the following line: **✓**\r\n> ```yaml\r\n> proxyDomain: local\r\n> ```\r\n> Again, allow your creativity to flourish and use whatever TLD makes you smile.\r\n> 11. Power Lando down with `lando poweroff` **✓**\r\n> 12. Start up your favorite Lando app to test it out with `lando start` from within your app's root directory. **✓**\r\n\r\n```\r\nlando start\r\nStarting landoproxyhyperion5000gandalfedition_proxy_1 ... done\r\nStarting myapp_appserver_1 ... done\r\nStarting myapp_mailhog_1   ... done\r\nStarting myapp_solr_1      ... done\r\nStarting myapp_database_1  ... done\r\nWaiting until database service is ready...\r\nWaiting until appserver service is ready...\r\nWaiting until solr service is ready...\r\nWaiting until mailhog service is ready...\r\nChanged current directory to /var/www/.composer\r\n./composer.json has been updated\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\nNothing to install or update\r\nGenerating autoload files\r\n\r\nBOOMSHAKALAKA!!!\r\n\r\nYour app has started up correctly.\r\nHere are some vitals:\r\n\r\n NAME            myapp\r\n LOCATION        /Users/Dev/Projects/myapp.de/myapp.de\r\n SERVICES        appserver, database, mailhog, solr\r\n APPSERVER URLS  https://localhost:32791      [green]\r\n                 http://localhost:32792       [green]\r\n                 http://myapp.local           [red]\r\n                 https://myapp.local          [red]\r\n MAILHOG URLS    http://localhost:32787       [green]\r\n                 http://mail.myapp.local      [red]\r\n                 https://mail.myapp.local     [red]\r\n SOLR URLS       http://solr.myapp.local      [red]\r\n                 https://solr.myapp.local     [red]\r\n```\r\n\r\n* It was working before with lndo.stie proxy, but I changed to local but now the .local sites aren't available. What did I miss?"},"comment":{"url":"https://api.github.com/repos/lando/lando/issues/comments/380981654","html_url":"https://github.com/lando/lando/issues/880#issuecomment-380981654","issue_url":"https://api.github.com/repos/lando/lando/issues/880","id":380981654,"user":{"login":"dustinleblanc","id":3948808,"avatar_url":"https://avatars3.githubusercontent.com/u/3948808?v=4","gravatar_id":"","url":"https://api.github.com/users/dustinleblanc","html_url":"https://github.com/dustinleblanc","followers_url":"https://api.github.com/users/dustinleblanc/followers","following_url":"https://api.github.com/users/dustinleblanc/following{/other_user}","gists_url":"https://api.github.com/users/dustinleblanc/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinleblanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinleblanc/subscriptions","organizations_url":"https://api.github.com/users/dustinleblanc/orgs","repos_url":"https://api.github.com/users/dustinleblanc/repos","events_url":"https://api.github.com/users/dustinleblanc/events{/privacy}","received_events_url":"https://api.github.com/users/dustinleblanc/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T00:12:14Z","updated_at":"2018-04-13T00:12:14Z","author_association":"COLLABORATOR","body":"@osopolar I think `.local` might be reserved by MacOS. You might want to swap to .localhost or something else and give this another try. You might need to reboot first."}}
{"actor":{"display_login":"dustinleblanc"}}