fix: require user to edit docker-compose.yml before configuration

This commit is contained in:
Jesús Pavón Abián 2024-10-25 19:26:39 +02:00
parent a5b65eec4d
commit 271539e674

View file

@ -36,6 +36,10 @@ else
echo "docker-compose.yml already exists. Skipping download." echo "docker-compose.yml already exists. Skipping download."
fi fi
# Prompt the user to edit the docker-compose.yml file
echo "Before continuing, you must edit the docker-compose.yml file to configure the database connection details."
read -p "Press Enter when you have finished editing the file."
# Run the initial command for interactive configuration # Run the initial command for interactive configuration
echo "Starting WriteFreely configuration..." echo "Starting WriteFreely configuration..."
docker compose run -it --rm app writefreely config start docker compose run -it --rm app writefreely config start