forked from nathanwoodburn/firewalletbrowser
feat: Add install script to readme
This commit is contained in:
@@ -13,6 +13,11 @@ cp example.env .env
|
||||
Edit .env to have your HSD api key.
|
||||
If you have HSD runnning on a separate computer also add the IP here
|
||||
|
||||
For a quick and easy installation on ubuntu/debian you can run the install.sh script
|
||||
```bash
|
||||
curl https://git.woodburn.au/nathanwoodburn/firewalletbrowser/src/branch/main/install.sh | bash
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Make sure HSD is running then run the following commands:
|
||||
|
||||
@@ -2,9 +2,15 @@
|
||||
|
||||
install_command=""
|
||||
|
||||
# Check if currently in the FireWalletBrowser directory
|
||||
if [ -f "server.py" ]; then
|
||||
echo "Please run this script from outside the FireWalletBrowser directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Starting installation of FireWalletBrowser..."
|
||||
|
||||
# Check if OS is using apt package manager (Debian/Ubuntu)
|
||||
|
||||
if command -v apt-get &> /dev/null; then
|
||||
install_command="sudo apt-get install -y"
|
||||
dependencies=(git curl wget python3 python3-pip python3-venv)
|
||||
|
||||
Reference in New Issue
Block a user