Tools

Setup

Installation

cp .env.example .env

composer install

php artisan key:generate

php artisan passport:keys —force

php artisan migrate

Seed Database

php artisan init dev

herd link global-umniex.test && herd secure global-umniex.test

herd link europe-umniex.test && herd secure europe-umniex.test

Update Nginx Config for Websocket (Only if you need websockets)

Add the following block to Herd Nginx Config for global-umniex.test & eruope-umniex.test.

location /app {
    proxy_pass <http://127.0.0.1:8080>;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
    proxy_set_header Host $http_host;
    proxy_read_timeout 86400s;
}