Skip to content
Maxime LABELLE edited this page Aug 9, 2022 · 4 revisions

Wiki

Welcome to the JMESPath.site wiki.

Running the website locally

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 type hugo server to run the local development server.

Clone this wiki locally