- Make sure you have Docker installed and running.
- Install the Dev Containers extension for VS Code.
- Clone the repo, then open the folder using VS Code.
- Open the VS Code command palette using Ctrl+Shift+P
- Select the command: "Dev Containers: Reopen in Container". This will spin up a container and install dependencies.
- Once the container is live, you can use 'Run and Debug' -> 'Vitepress' (Click 'Debug Anyway' if a warning about a problem matcher appears.)
- Alternately, you can run
npm run devin the VS Code terminal, then open http://localhost:5173 in your browser.
Scripts for running and debugging are located in package.json (npm run dev)
config.js under .vitepress describes site layout
.vitepress -> theme -> index.js is for importing arbitrary customizations