Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

techdivision/valet-plus

 
 

Repository files navigation

Introduction

Valet+ is a development environment for macOS. No Vagrant, no Docker, no /etc/hosts file.

Installation

Install Homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update && brew upgrade

Install prerequisits:

brew tap henkrehorst/php
brew install composer
brew install [email protected]
brew link --force --overwrite [email protected]

Install valet-plus

composer global require techdivision/valet-plus
grep -q 'export PATH="$PATH:$HOME/.composer/vendor/bin"' ~/.zshrc || echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.zshrc

Reopen your terminal and go ahead with:

valet install
valet elasticsearch install
/usr/local/opt/[email protected]/libexec/bin/plugin install analysis-phonetic
/usr/local/opt/[email protected]/libexec/bin/plugin install analysis-icu
grep -q 'script.inline: on' /usr/local/opt/[email protected]/libexec/config/elasticsearch.yml || echo "script.inline: on" >> /usr/local/opt/[email protected]/libexec/config/elasticsearch.yml
grep -q 'script.indexed: on' /usr/local/opt/[email protected]/libexec/config/elasticsearch.yml || echo "script.indexed: on" >> /usr/local/opt/[email protected]/libexec/config/elasticsearch.yml
valet restart elasticsearch

Usage

For further documentation goto https://github.com/weprovide/valet-plus/blob/master/readme.md

Packages

No packages published

Languages

  • PHP 98.9%
  • Other 1.1%