Skip to content

Local environment

Robert Trzebiński edited this page Jan 15, 2022 · 15 revisions

macOS native

Requirements

  • brew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • git
$ brew install git
  • PHP
$ brew install php@8.1
$ brew unlink php
$ brew link --overwrite --force php@8.1
  • composer
$ brew install composer
$ composer install
  • mysql
$ brew install mysql@5.7
$ brew services start mysql@5.7

// Intel
$ echo 'export PATH="/usr/local/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile

// M1
$ echo 'export PATH="/opt/homebrew/opt/mysql@5.7/bin:$PATH"' >> ~/.bash_profile

$ source ~/.bash_profile

Commands

$ make help
$ make start
$ make test
Clone this wiki locally