Sign in

Patrick is a geek, coder, developer in and Laravel Developer in Utah. He’s always looking for Freelance work, while building side projects in his spare time.


Part 1 — Setup our Laravel Livewire Project


Here are my generally sensible defaults for most laravel projects:

Change App Name / Url

APP_NAME=Awesomeapp
APP_URL=http://awesomeapp.test

Mailhog for email testing.

MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=admin@awesomeapp.test
MAIL_PASSWORD=test1234
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=admin@awesomeapp.test
MAIL_FROM_NAME=Awesomeapp

Setup redis for sessions/cache/queue.

CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=120
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

Running extra scripts.



$ laravel new testapp && cd testapp && nsc


$ sudo cp /etc/nginx/sites-available/site1.test /etc/nginx/sites-available/site2.test
$ sudo ln -s /etc/nginx/sites-available/site2.test /etc/nginx/sites-enabled/site2.test
### edit site2.test
$ sudo systemctl restart nginx


Learn to use Systemctl to Manage Systemd Services and Units

Table of Contents

Introduction


How to delete your docker containers and images easily to clear up space on your dev machine.

Cleaning up docker.



Introducing: Bus Factor Insurance.

Photo by Val Vesa on Unsplash

What is Bus Factor?

Patrick Curl

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store