Skip to content

Instantly share code, notes, and snippets.

View Mutembeijoe's full-sized avatar
🎯
Focusing

Joe Mutembeijoe

🎯
Focusing
View GitHub Profile
@Mutembeijoe
Mutembeijoe / deployment_guide.md
Created March 22, 2022 11:00 — forked from vicgonvt/deployment_guide.md
Deployment Guide for Ubuntu Server from Scratch with Laravel
@Mutembeijoe
Mutembeijoe / SelfReferenceTrait.php
Created May 11, 2021 16:48 — forked from joaorbrandao/SelfReferenceTrait.php
Laravel Model Self Reference
<?php
namespace App\Traits;
trait SelfReferenceTrait
{
protected $parentColumn = 'parent_id';
public function parent()
{
@Mutembeijoe
Mutembeijoe / laravel_horizon.md
Created May 2, 2021 15:06 — forked from ankurk91/laravel_horizon.md
Laravel Horizon, redis-server, supervisord on Ubuntu 20 server

Laravel Horizon, redis-server, supervisord on Ubuntu server

Laravel 8.x, Horizon 5.x, Redis 6.x

Parepare application

  • Install and configure Laravel Horizon as instructed in docs
  • Make sure you can access the Horizon dashboard like - http://yourapp.com/horizon
  • For now it should show status as inactive on dashbaord

Install redis-server

@Mutembeijoe
Mutembeijoe / DEPLOYING-DJANGO-APPS-TO-HEROKU.md
Created June 13, 2020 15:44 — forked from newtonkiragu/DEPLOYING-DJANGO-APPS-TO-HEROKU.md
Deploying Django Applications to heoroku

How to Deploy Django Applications on Heroku

Install heroku CLI

Sign up to Heroku.

Then install the Heroku Toolbelt. It is a command line tool to manage your Heroku apps

After installing the Heroku Toolbelt, open a terminal and login to your account:

@Mutembeijoe
Mutembeijoe / GitCommitEmoji.md
Created February 17, 2020 05:58 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji