### Start Development Servers Source: https://github.com/fmhy/edit/blob/main/docs/other/selfhosting.md Run these commands to start the documentation site and the API in development mode. The documentation site typically runs at http://localhost:5173. ```bash # Start the documentation site in dev mode pnpm docs:dev # Start the API in dev mode (if needed) pnpm api:dev ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/fmhy/edit/blob/main/docs/other/selfhosting.md Install all necessary project dependencies using the pnpm package manager. ```bash pnpm install ``` -------------------------------- ### Clone Repository and Navigate Source: https://github.com/fmhy/edit/blob/main/docs/other/selfhosting.md Clone the FMHY repository and change into the project directory to begin the manual installation process. ```bash git clone https://github.com/fmhy/edit.git cd edit ``` -------------------------------- ### Preview Production Build Source: https://github.com/fmhy/edit/blob/main/docs/other/selfhosting.md Preview the locally built production version of the documentation site and the API. ```bash # Preview the documentation site pnpm docs:preview # Preview the API (if needed) pnpm api:preview ```