corrections
This commit is contained in:
parent
65b17f38dc
commit
f15e8d92cd
|
|
@ -3,6 +3,7 @@
|
|||
check_global_const DOMAIN_NAME USERNAME CADDYFILE IP SSH_PORT
|
||||
|
||||
mkdir "/home/${USERNAME}/cms.${DOMAIN_NAME}"
|
||||
chown -R "${USERNAME}:${USERNAME}" "/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"
|
||||
|
||||
|
|
@ -52,9 +53,6 @@ wait_for_DB() {
|
|||
echo -e "${PURPLE}${BOLD}Import the Directus database ? (y/N) ${RESET}"
|
||||
read answer
|
||||
if [[ "$answer" == "y" ]]; then
|
||||
# @TODO: finish import db
|
||||
# fix where everything is set (admin not for db import, network connect for both...)
|
||||
# do we really need the .env file ?
|
||||
set_port
|
||||
set_secrets
|
||||
docker_up
|
||||
|
|
@ -106,7 +104,6 @@ else
|
|||
UPDATE directus.directus_users SET token='${WEBSITE_TOKEN}' WHERE email='website@${DOMAIN_NAME}';
|
||||
\" directus
|
||||
"
|
||||
# @TODO: Create the upload directory or make sure it is writable
|
||||
|
||||
echo -e "${PURPLE}${BOLD}Import Directus data model ? (y/N) ${RESET}"
|
||||
read answer
|
||||
|
|
|
|||
Loading…
Reference in New Issue