Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[WIP] App-agnostic / Laravel support Updates #1123
I used #1063 as a starting point to support both WordPress and Laravel.
I tested the provisioning and deployment on a fresh remote machine running both a bare-bone Bedrock installation and a Laravel app.
Don't use this in production!
Summary of changes:
Adding Node should be discussed. I use Laravel Mix and it loads env variables like
* Use all canonical site hosts for Landrush TLD This is useful if you want to use WordPress’ multisite domain mapping locally and if you’ve specified canonical hosts which are not sub-domains of the main canonical host. * Filter subdomains for Landrush TLD resolver This filters out subdomains of the main hostname for the Landrush TLD(s). This way it only adds necessary resolvers. For example, of the following: - `example.test` (main hostname) - `subdomain.example.test` - `client.test` We tell Landrush (dnsmaq) to only create: - `/etc/resolver/example.test` - `/etc/resolver/client.test` Because `example.test` handles `subdomain.example.test`.