From 7c0f00091ce778cdf5ef438a75ee7e40f78fec92 Mon Sep 17 00:00:00 2001 From: Yuri Bocharov Date: Thu, 11 Jul 2024 16:54:29 -0400 Subject: [PATCH] feat: improve bin/setup (#4494) * feat: improve bin/setup * fix: change font color --- bin/setup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/setup b/bin/setup index ec12c74c41..a87b0356f6 100755 --- a/bin/setup +++ b/bin/setup @@ -54,8 +54,10 @@ FileUtils.chdir APP_ROOT do system!("bundle check") || system!("bundle install") unless File.exist?('.env') - log "== Setup .env file from .env.example ==" + log "== Setting up .env file from .env.example ==" system!('cp .env.example .env') + log "Check .env to see if your database credentials are correct.\nPress Enter to continue...", color: :red + gets end log "== Preparing database =="