Skip to content

Instantly share code, notes, and snippets.

@cmaneu
Last active May 20, 2022 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmaneu/2303264db7f849c04f8fbc3edb670046 to your computer and use it in GitHub Desktop.
Save cmaneu/2303264db7f849c04f8fbc3edb670046 to your computer and use it in GitHub Desktop.
AFUP Tours - DevContainers Meetup

Meetup

Intro

Une nouvelle machine

wsl --install
winget install docker.dockerdesktop
winget install microsoft.visualstudiocode
winget install git.git
winget install Microsoft.GitCredentialManagerCore
code --install-extension ms-vscode-remote.vscode-remote-extensionpack
git config --global user.name "Christopher MANEU"
git config --global user.email "git@maneu.org"

Qui touche au front ?

  • Créer un devcontainer from scratch
  • Faire un truc
  • Commit 🎉

Let's get serious

  • Laravel sail
  • Redis demo
  • php.ini

Let's get some team work done!

  • create new branch
  • Open in Codespaces
<?php
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Redis;
Route::get('/', function () {
Redis::incr('home_views', 1);
return view('welcome', [
'home_views' => Redis::get('home_views')
]);
});
<div class="text-blue-800 text-4xl">{{$home_views}}</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment