-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Maxime LABELLE edited this page Aug 9, 2022
·
4 revisions
Welcome to the JMESPath.site wiki.
You can test your developments on you local machine using Visual Studio Code and Docker.
- Clone this repository.
- Open a Visual Studio Code workspace at the root of the
jmespath.site
folder.
Visual Studio Code will detect the .devcontainer
folder and prompt to reopen the workspace in a Docker container.
Click Reopen in Container
.
- Wait for a few seconds for Docker to pull the images and Visual Studio Code to build the dev container image.
- You will find that Visual Studio Code is now connected to the remote workspace.
On the first start, the website is automatically generated and served on a local development server that you can use this container to test your developments.
-
Locate the Visual Studio Code console and press Ctrl+C to exit the local development server.
-
Open the Visual Studio Code integrated terminal and type
hugo
to build the static website after a change. You can also typehugo server
to run the local development server.