Set Up Documentation Environment
This document will guide you through setting up the environment for writing Mencrouche documentation.
Environment Setup
Mencrouche documentation is built on VitePress, a static site generator built on Vue and Vite. Please follow the steps below to install the packages and start the documentation site locally:
Install Bun according to the official guide
bash# Confirm if bun is installed successfully bun --versionClone the Mencrouche repository
bashgit clone https://github.com/FOBshippingpoint/mencrouche.gitInstall Git Large File Storage according to the official guide (Mencrouche uses Git LFS to store large files, such as videos)
bashgit lfs install git pullInstall the required libraries
bashcd mencrouche/docs bun installStart the local website server
bashbun run --bun --filter=@mencrouche/docs docs:dev --openYou should see http://localhost:5173 open in your browser
Try to change the text of the
mencrouche/docs/en/index.mdfile and save it. You can see the text changes on the English homepage without refreshing the page.