From b4ff906c163c15437e34cdd5e2ff90e4f1234162 Mon Sep 17 00:00:00 2001 From: Richard-Woessner Date: Wed, 16 Oct 2024 08:58:16 -0400 Subject: [PATCH] Update contribute/desktop.md with instructions for running the browser locally --- content/contribute/desktop.md | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/content/contribute/desktop.md b/content/contribute/desktop.md index 4243554..cbee531 100644 --- a/content/contribute/desktop.md +++ b/content/contribute/desktop.md @@ -14,6 +14,47 @@ Before you begin, ensure you have the following tools installed: - [**Node.js**](https://nodejs.org/): Required for building the browser. - [**npm**](https://www.npmjs.com/): Node package manager, which comes with Node.js. + +## Run Locally + +Clone the project + +```bash +git clone https://github.com/zen-browser/desktop.git --recurse-submodules +cd desktop +``` + +Install dependencies + +```bash +npm i +``` + +Download and bootstrap the browser + +``` +npm run init +``` + +Copy a language pack +``` +sh scripts/update-en-US-packs.sh +``` + +Start building the browser + +``` +npm run build +``` + +Finally, run the browser! + +``` +npm start +``` + + + ## Making a Contribution #### 1. Fork the Repository