mirror of
https://codeberg.org/vlw/cloud-backup.git
synced 2025-09-13 17:43:42 +02:00
parent
76c006823e
commit
eee7ffd989
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue