Skip to content

Commit 1e621f0

Browse files
Apply suggestions from code review
Co-authored-by: Tom Greenwood <101816158+greenwoodt@users.noreply.github.com>
1 parent 6c5faaf commit 1e621f0

8 files changed

Lines changed: 11 additions & 11 deletions

File tree

install/dependencies/check_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ else
3838
exit 1
3939
fi
4040

41-
echo "✅ Docker is accessible for current user"
41+
echo "✅ Docker is accessible for current user!"
4242
fi

install/dependencies/create_system_admin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generate_system_admin() {
1313
}
1414

1515
if [ -z "$EXTERNAL_DATABASE" ]; then
16-
echo "Checking if database is already running"
16+
echo "Checking if database is already running..."
1717
until docker ps --filter "name=decidim-db" --filter "status=running" --quiet; do
1818
echo "Container not running yet..."
1919
sleep 2

install/dependencies/decidim_version.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo "💡 About Decidim versions:"
77
echo " • latest - Most recent stable release (recommended)"
88
echo " • Custom images - Your own modified Decidim builds"
99
echo
10-
echo "If you want, later on, you can modify the 'docker-compose.yml' to change the Decidim version"
10+
echo "If you want, later on you can modify the 'docker-compose.yml' to change the Decidim version."
1111
echo
1212
echo "Default image: decidim/decidim:latest"
1313
echo
@@ -17,13 +17,13 @@ while true; do
1717

1818
DECIDIM_IMAGE=${DECIDIM_IMAGE:-decidim/decidim:latest}
1919

20-
echo "Trying to pull: $DECIDIM_IMAGE"
20+
echo "Attempting to pull: $DECIDIM_IMAGE"
2121

2222
if docker pull "$DECIDIM_IMAGE"; then
2323
echo "✅ Successfully pulled image: $DECIDIM_IMAGE"
2424
break
2525
else
26-
echo "Failed to pull image: $DECIDIM_IMAGE"
26+
echo "Failed to pull image: $DECIDIM_IMAGE"
2727
echo "Please try again."
2828
echo
2929
fi

install/dependencies/generate_gemfile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
echo "───────────────────────────────────────────────"
6-
echo "Now we are going to generate some Gemfiles so that we can track gem dependencies"
6+
echo "Now we are going to generate some Gemfiles, in order to track gem dependencies."
77
echo
88
echo "You will find everything in the Gemfile.wrapper and Gemfile.local"
99

install/dependencies/generate_vapid_keys.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ output=$(docker run --rm \
1616
"$DECIDIM_IMAGE" \
1717
bin/rails decidim:pwa:generate_vapid_keys)
1818

19-
echo "✅ The VAPID keys have been generated correctly"
19+
echo "✅ The VAPID keys have been generated correctly!"
2020

2121
VAPID_PUBLIC_KEY=$(echo "$output" | grep 'VAPID_PUBLIC_KEY' | cut -d'=' -f2)
2222
VAPID_PRIVATE_KEY=$(echo "$output" | grep 'VAPID_PRIVATE_KEY' | cut -d'=' -f2)

install/dependencies/open_ports.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
open_ports() {
44
echo
5-
echo "To handle the SSL certificate we will have to open the port 80 and the port 443"
5+
echo "To handle the SSL certificate, we will have to open the port 80 and the port 443."
66
echo
77

88
if ! command -v ufw; then

install/scripts/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if ! bundle check; then
1818
echo "❌ Gems in Gemfile are not installed. Installing them with \"bundle install\"..."
1919
bundle install
2020
else
21-
echo "✅ Gems in Gemfile are installed"
21+
echo "✅ Gems in Gemfile are installed!"
2222
fi
2323

2424
# Check to see if there are migrations to install

install/scripts/sidekiq_entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
# Check all the gems are installed or fails.
44
if ! bundle check; then
5-
echo "❌ Gems in Gemfile are not installed. Installing them with \"bundle install\"..."
5+
echo "❌ Gems within the Gemfile are not installed. Installing them with \"bundle install\"..."
66
if ! bundle install; then
77
echo "❌ bundle install failed."
88
exit 1
99
fi
1010
else
11-
echo "✅ Gems in Gemfile are installed"
11+
echo "✅ Gems in Gemfile are installed!"
1212
fi
1313

1414
echo "🚀" "$@"

0 commit comments

Comments
 (0)