-
Notifications
You must be signed in to change notification settings - Fork 3
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.sitefolder.
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
hugoto build the static website after a change. You can also typehugo serverto run the local development server.
