* Update README.md

* Update install.sh
This commit is contained in:
Victor Westerlund 2022-03-15 07:18:06 -08:00 committed by GitHub
parent 76c006823e
commit eee7ffd989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -20,6 +20,10 @@ git clone https://github.com/VictorWesterlund/cloud-backup
2. **Install dependencies**
```bash
# Install dependencies for your cloud provider "gcloud", "aws" or "azure". Leaving it empty will install everything
bash install.sh aws
# Or install everything directly with PIP
python3 -m pip install -r requirements.txt
```

View file

@ -6,7 +6,7 @@ install python-dotenv
# Install Python libraries for cloud provider
case $1 in
"gcs")
"gcloud")
install google-cloud-storage
;;
@ -25,4 +25,4 @@ esac
if [ ! -f ".env" ]; then
cp .env.example .env
sed -i "s/SERVICE_NAME=\"\"/SERVICE_NAME=\"$1\"" .env
fi
fi