Update contribute/desktop.md with instructions for running the browser locally

This commit is contained in:
Richard-Woessner 2024-10-16 08:58:16 -04:00
parent 94038f7641
commit b4ff906c16

View file

@ -14,6 +14,47 @@ Before you begin, ensure you have the following tools installed:
- [**Node.js**](https://nodejs.org/): Required for building the browser. - [**Node.js**](https://nodejs.org/): Required for building the browser.
- [**npm**](https://www.npmjs.com/): Node package manager, which comes with Node.js. - [**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 ## Making a Contribution
#### 1. Fork the Repository #### 1. Fork the Repository