Skip to content

Commit

Permalink
docs: add additional instructions for Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
jurevans committed Oct 1, 2024
1 parent 1def6e0 commit 420cf0c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions apps/extension/FIREFOX_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,28 @@ several local packages; their sources are in:

## Build instructions

If you don't already have Node v20 LTS and NPM v10, install now via `nvm`:

```bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

# Enable nvm in current shell
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

# Install v20 LTS
nvm install v20.9.0
```

These instructions should work for the default reviewer build environment.

```bash
sudo apt install protobuf-compiler build-essential
curl https://sh.rustup.rs -sSf | sh

# Make sure to pull cargo into your current environment:
source ~/.bashrc

npm install -g yarn
export PUPPETEER_SKIP_DOWNLOAD=true
yarn
Expand Down

0 comments on commit 420cf0c

Please sign in to comment.