corrections echo import data model

This commit is contained in:
Valentin 2024-11-28 19:53:53 +01:00
parent 343cf4ecd5
commit c9b86d7401
3 changed files with 12 additions and 8 deletions

View File

@ -1,13 +1,17 @@
Deployment [**D**ebian](https://www.debian.org/) (os) + [**D**ocker](https://www.docker.com/) (containerization) + [**C**addy](https://caddyserver.com/) (webserver) + [**D**irectus](https://directus.io/) (cms) + [**N**uxt](https://nuxt.com/) (static front).
Installation
## Installation
On a fresh install as root user using
sudo passwd root
`sudo passwd root`
su - root
`su - root`
Upgrade
Upgrade
apt update && apt upgrade -y
`apt update && apt upgrade -y`
## TODO
Staging server with password

View File

@ -64,7 +64,7 @@ docker network connect web "${DOMAIN_NAME}_Directus"
echo -e "${PURPLE}${BOLD}Import Directus data model ? (y/N) ${RESET}"
read answer
if [[ "$answer" == "y" ]]; then
echo -e "${PURPLE}${BOLD}Import local Directus data model${RESET}"
echo -e "${PURPLE}${BOLD}Make sure your local Directus is the latest version${RESET}"
echo -e "${BLUE}npx directus schema snapshot ./snapshot.yaml${RESET}"
echo -e "${BLUE}scp -P ${SSH_PORT} /local/path/to/snapshot.yaml ${USERNAME}@${IP}:/home/${USERNAME}/snapshot.yaml${RESET}"
echo -e "${PURPLE}${BOLD}Press any key when done${RESET}"

View File

@ -7,7 +7,7 @@ check_global_const IP
echo -e "${PURPLE}${BOLD}Configure the ${DOMAIN_NAME} DNS ZONE as the following${RESET}"
echo -e "${BLUE}Domain : ${DOMAIN_NAME} | Type : A | Target : ${IP}${RESET}"
echo -e "${BLUE}Domain : cms.${DOMAIN_NAME} | Type : A | Target : ${ip}${RESET}"
echo -e "${BLUE}Domain : www.${DOMAIN_NAME} | Type : A | Target : ${ip}${RESET}"
echo -e "${BLUE}Domain : cms.${DOMAIN_NAME} | Type : A | Target : ${IP}${RESET}"
echo -e "${BLUE}Domain : www.${DOMAIN_NAME} | Type : A | Target : ${IP}${RESET}"
echo -e "${PURPLE}${BOLD}Press any key when done${RESET}"
read