Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 authored Oct 16, 2023
1 parent e463b85 commit 17457fa
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,24 @@ This project is based on original rt-n56u with latest mtk 4.4.198 kernel, which
```
**Optional:**
- install [golang](https://go.dev/doc/install) for building go programs
```sh
sudo rm -rf /usr/local/go
curl -fsSL https://go.dev/dl/go1.20.10.linux-amd64.tar.gz | sudo tar -C /usr/local -xz
echo "export PATH=\$PATH:/usr/local/go/bin" | sudo tee /etc/profile.d/go.sh
source /etc/profile.d/go.sh
go version
```
- install [nodejs](https://nodejs.org/en/download) for building [AdGuardHome](trunk/user/adguardhome)
```sh
sudo apt update
sudo apt install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt update
sudo apt install -y nodejs
node -v
```
- Clone source code
```sh
git clone https://github.com/tsl0922/padavan.git
Expand Down

0 comments on commit 17457fa

Please sign in to comment.