GOAL: To setup work and personal github account in the same machine. The gist assumes that you already have the ssh key for work and personal use.
Edit ~/.ssh/config
and add an entry for your work and personal github account with different keys:
GOAL: To setup work and personal github account in the same machine. The gist assumes that you already have the ssh key for work and personal use.
Edit ~/.ssh/config
and add an entry for your work and personal github account with different keys:
<?php | |
namespace Database\Factories; | |
use Illuminate\Database\Eloquent\Factories\Factory; | |
/** | |
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Email> | |
*/ | |
class EmailFactory extends Factory |
Artisan::command('migrate:fresh', function () { | |
/** @var \Illuminate\Console\Command $cmd */ | |
$cmd = $this; | |
$cmd->ask("Are you sure you want to resign?", "Yes"); | |
$cmd->comment( | |
<<<'TXT' | |
.~))>> |
<?php | |
namespace App\Editor\Fields; | |
use Yajra\DataTables\Html\Editor\Fields\Field; | |
class JSTreeField extends Field | |
{ | |
protected $type = 'jsTree'; | |
} |
<?php | |
namespace Yajra\DataTables\Processors; | |
use Illuminate\Support\Arr; | |
use Yajra\DataTables\Utilities\Helper; | |
class DataProcessor | |
{ | |
/** |
<template> | |
<table> | |
<thead> | |
<tr> | |
<th v-for="column in parameters.columns" v-html="title(column)"></th> | |
</tr> | |
</thead> | |
<tfoot v-if="footer"> | |
<tr> | |
<th v-for="column in parameters.columns" v-html="column.footer"></th> |
APP_NAME=Laravel | |
APP_ENV=local | |
APP_KEY=base64:2JTqUn+p24WXtpVdoIyoK3cIaMOMpeuKvE7vEIlShlg= | |
APP_DEBUG=true | |
APP_LOG_LEVEL=debug | |
APP_URL=http://localhost | |
DB_CONNECTION=sqlite | |
BROADCAST_DRIVER=log |
Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.