wdeer / trellis-valet-driver

A driver for Laravel Valet (v4) that supports the default Trellis install.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

danielroe/trellis-valet-driver

A driver for Laravel Valet or Valet Linux that supports the default Trellis/Bedrock install.

Installing

Download TrellisValetDriver.php and place it in your ~/.config/valet/Drivers folder. Now your Trellis/Bedrock folders will display correctly - no configuration required.

This assumes your Trellis directory structure looks like:

example/      # → Root folder for the project
├── trellis/      # → Your clone of this repository
└── site/         # → A Bedrock-based WordPress site
    └── web/
        ├── app/  # → WordPress content directory (themes, plugins, etc.)
        └── wp/   # → WordPress core (don't touch!)

If you're migrating from Trellis, you'll need to create a site/.env file. See here for more information. TangRufus has written Enveigle which creates site/.env file from the settings in your /trellis/group_vars/ directory.

About

A driver for Laravel Valet (v4) that supports the default Trellis install.


Languages

Language:PHP 100.0%