Skip to content

Commit

Permalink
build(installation): make users aware of installation time
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymousWP committed Jun 7, 2024
1 parent 8423809 commit ad3ad4c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi
tput setaf 2;
cat web/art/reNgine.txt

log "\r\nBefore running this script, please make sure Docker is running and you have made changes to the `.env` file." 1
log "\r\nBefore running this script, please make sure Docker is running and you have made changes to the .env file." 1
log "Changing the postgres username & password from .env is highly recommended.\r\n" 1

log "#########################################################################" 4
Expand All @@ -26,7 +26,7 @@ log "Only x86_64 platform are supported" 3
log "#########################################################################\r\n" 4

tput setaf 1;
read -p "Are you sure you made changes to the `.env` file (y/n)? " answer
read -p "Are you sure you made changes to the .env file (y/n)? " answer
case ${answer:0:1} in
y|Y|yes|YES|Yes )
log "Continuing Installation!" 2
Expand Down Expand Up @@ -99,15 +99,17 @@ else
fi

log "\r\n#########################################################################" 4
log "Installing reNgine, please be patient it could take a while" 4
log "Installing reNgine-ng, please be patient as it could take a while" 1
sleep 5

log "\r\n=========================================================================" 5
log "Generating certificates and building docker images" 5
log "=========================================================================" 5
make certs && make build && log "reNgine is built" 2 || { log "reNgine installation failed!!" 1; exit 1; }

log "\r\n=========================================================================" 5
log "Docker containers starting, please wait celery container could be long" 5
log "Docker containers starting, please wait as Celery container could take a while" 1
sleep 5
log "=========================================================================" 5
make up && log "reNgine is installed!!!" 2 || { log "reNgine installation failed!!" 1; exit 1; }

Expand Down

0 comments on commit ad3ad4c

Please sign in to comment.