No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
clone.sh
install.sh

README.md

Local Dev

About

These scripts will setup a Laravel Valet+ and WP CLI based local dev environment. Homebrew and Composer will also be installed if not already.

Install

After you have looked at the source and are happy, install by running bash -c "$( curl -fsSL https://raw.githubusercontent.com/helpful/local_dev/master/install.sh )"

Warning fresh installations on 10.14 (Mojave) currently require a workaround. Run the install as above, then manually install the modules with pecl and modifiy php.ini as described here, then re-run the installation to ensure all steps complete successfully.

This will install the dev environment, and make the script clone.sh available. Running clone.sh will prompt for a few options, then copy the remote site into ~/Sites/xxx and open your browser to http://xxx.test to view it.

Updating

If you want to update clone.sh, you can run curl -o /usr/local/bin/clone.sh -fsSL https://raw.githubusercontent.com/helpful/local_dev/master/clone.sh ; chmod +x /usr/local/bin/clone.sh