You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now the repo has a .devcontainer configuration. Which means that it can run on any VC Code IDE - including a handfuld of others that als support devcontainers.
Note
☝️ Learning goals in this issue
Install Docker on you PC
Clone the repo to your own PC
Start the devcontainer as a locally hosted Docker container 🤞
Create the codepace, run it in the cloud and connect to it from VS Code on your PC 💪
If you haven't installed VS Code and Docker Desktop already...
Clone the repo to your PC and open it in VS Code. VS Code will recognize that you have a .devcontainer file in your project and offer you to open your container locally using Docker.
Choose "Reopen in container"
Try to open you Docker Desktop app. You'll see that the container is running locally on your PC. When you run bundle exec jekyll serve from the /docs folder you'll see that the site is also hosted from your local machine on `127.0.0.1:4000``
Close VC Code and stop the container. Try this alternative:
Browse to the repository on GitHub and under code, browse to the CodeSpace, right click on it and chose Open In VS Code.
You can achieve the same thing from opening VS Code and from the Command Palette chose "CodeSpaces: Connect to code space" chose your CodeSpace from the list.
The text was updated successfully, but these errors were encountered:
lakruzz
changed the title
add a static web page
Add a static web page
Mar 3, 2024
Now the repo has a
.devcontainer
configuration. Which means that it can run on any VC Code IDE - including a handfuld of others that als support devcontainers.Note
☝️ Learning goals in this issue
If you haven't installed VS Code and Docker Desktop already...
Do it now
Clone the repo to your PC and open it in VS Code. VS Code will recognize that you have a
.devcontainer
file in your project and offer you to open your container locally using Docker.Choose "Reopen in container"
Try to open you Docker Desktop app. You'll see that the container is running locally on your PC. When you run
bundle exec jekyll serve
from the/docs
folder you'll see that the site is also hosted from your local machine on `127.0.0.1:4000``Close VC Code and stop the container. Try this alternative:
Browse to the repository on GitHub and under code, browse to the CodeSpace, right click on it and chose Open In VS Code.
You can achieve the same thing from opening VS Code and from the Command Palette chose "CodeSpaces: Connect to code space" chose your CodeSpace from the list.
The text was updated successfully, but these errors were encountered: