This commit is contained in:
Valentin 2024-11-11 22:28:39 +01:00
parent 9184394027
commit e19201f174
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
#!/bin/bash
if [[ -z "$DOMAIN_NAME" ]]; then
echo -e "${PURPLE}${BOLD}Enter the domain name of the website${RESET}"
read DOMAIN_NAME
get_ip
fi
mkdir "/home/${username}/cms.${DOMAIN_NAME}"
cp assets/directus.docker-compose.yml "/home/${username}/cms.${DOMAIN_NAME}/docker-compose.yml"
cp assets/.env.example "/home/${username}/cms.${DOMAIN_NAME}/.env"