Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How vscode Devcontainers made writing this post a joyful experience #15

Open
fstasi opened this issue Aug 19, 2022 · 0 comments
Open

How vscode Devcontainers made writing this post a joyful experience #15

fstasi opened this issue Aug 19, 2022 · 0 comments

Comments

@fstasi
Copy link
Owner

fstasi commented Aug 19, 2022

Explain how vscode devcontainers can be used to work with GitHub pages & Jekyll.

background

  • I need to run bundle update but I don't have the full ruby env
  • I'd like to preview changes locally

how

  • Microsoft vscode dev containers has an extremely pleasant Dev experience, as it creates the whole Jekyll configuration automatically
  • once the container is up and running I can run shell commands (bundle update) in the vscode integrated terminal
  • I can run build task
  • I can run serve task that also creates a port forwarding from my host system to the Jekyll container. Navigating to localhost:4000 in my browsers allows me to see my blog with the live changes
@fstasi fstasi changed the title Add a post about devcontainers & GitHub pages How vscode Devcontainers made writing this post a joyful experience Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant