Files
easypanel-supabase-compose/appwrite/update.sh
T
Andrei Canta cee28900dd Appwrite (#1)
2024-07-30 11:28:30 +03:00

15 lines
320 B
Bash

#!/bin/bash
if [ ! -d "./repo" ]; then
git clone --depth 1 --branch main --single-branch https://github.com/appwrite/appwrite.git repo
else
cd repo
git pull
cd ..
fi
curl -s https://appwrite.io/install/compose > ./code/docker-compose.yml
curl -s https://appwrite.io/install/env > ./code/.env.example