brew install php
brew install mysql
brew tap elastic/tap
brew install elastic/tap/elasticsearch-full
composer global require laravel/installer
Make sure to place Composer's system-wide vendor bin directory in your $PATH so the laravel executable can be located by your system.
macOS and GNU / Linux Distributions: $HOME/.composer/vendor/bin
composer global require laravel/valet
valet install
git clone https://github.com/dof-dss/architecture-catalogue.git
composer install
npm install
cp .env.example .env
php artisan key:generate
npm run dev
Change into the architecture-catalogue directory.
valet link catalogue
valet secure catalogue
You can run a full suite of tests using phpunit
./vendor/bin/phpunit