Skip to content

Commit

Permalink
fixed a linux install line and add wget option for script
Browse files Browse the repository at this point in the history
  • Loading branch information
sfaber34 committed May 30, 2024
1 parent 828942f commit 63a97c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const Home: NextPage = () => {
{/* <pre>{'/bin/bash -c "$(curl -fsSL https://nodes.buidlguidl.com/bgnodes.sh)"'}</pre> */}
<pre>{`curl -s https://nodes.buidlguidl.com/bgnodes.sh | /bin/bash`}</pre>
</h1>
<h1 className="text-center">
<span className="block text-2xl mb-2">Welcome to</span>
<span className="block text-4xl font-bold">BuidlGuidl Nodes</span>
<pre>{`wget -qO- https://nodes.buidlguidl.com/bgnodes.sh | /bin/bash`}</pre>
</h1>
<div className="flex justify-center items-center space-x-2">
<p className="my-2 font-medium">Connected Address:</p>
<Address address={connectedAddress} />
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/public/bgnodes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ if [ "$os_name" = "Linux" ]; then
color "36" "pm2 is installed."
else
color "1" "Installing pm2."
npm install pm2@latest -g
sudo npm install pm2@latest -g
fi
fi

Expand Down

0 comments on commit 63a97c6

Please sign in to comment.