Skip to content

Just youtube.com/watch?v=SDa3v4Quj7Y My Favorite Way To Handle Dev Environments | VS Code Devcontainers]

Notifications You must be signed in to change notification settings

ashdp/devcontainers-video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

Practice https://www.youtube.com/watch?v=SDa3v4Quj7Y My Favorite Way To Handle Dev Environments | VS Code Devcontainers

Summary

  1. Install Git Desktop, VS Code, Docker Desktop, WSL
  2. VS Code Extension: Remote Development
  3. Create simple Github repo for the files (readme and gitignore enough)
  4. Ctrl+Shift+P --> devcontainers: Git clone into container --> Add URL from previous step
  5. Choose: Linux Universal Container --> No additional tools needed

Bit More

  1. I had to install my git creds as per https://github.com/ashdp/github-by-examples
  2. mkdir simple-nextjs-app ; cd simple-nextjs-app ; npx create-next-app@latest . ; npm run dev

Rest of Video

  1. Talks about customising the default Linux Universal devContainer (e.g. if it was missing ffmpeg we can create a Dockerfile, add apt install -y ffmpeg and rebuild/restart the running container)
  2. By comitting the Dockerfile in the previous step to Github, then you can open in 'Github Codespaces' the entire environment in a web browser and code there!

About

Just youtube.com/watch?v=SDa3v4Quj7Y My Favorite Way To Handle Dev Environments | VS Code Devcontainers]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published