Skip to content

Commit

Permalink
bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
b23prodtm committed Dec 2, 2018
1 parent 3f54cd5 commit a2e012a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ export CAKEPHP_DEBUG_LEVEL=2
if [ ! -f ${PHP_CMS_DIR}/e13/etc/constantes.properties ]; then
shell_prompt "./configure.sh -c" "configuration"
fi
echo "Configuration begins automatically...${green}"
echo "Configuration begins automatically..."
#; hash file that is stored in webroot to allow administrator privileges
hash="${PHP_CMS_DIR}/e13/etc/export_hash_password.sh"
if [ ! -f $hash ]; then
shell_prompt "./configure.sh -c -h" "configuration"
if [[ ! $GET_HASH_PASSWORD ]]; then
hash="${PHP_CMS_DIR}/e13/etc/export_hash_password.sh"
if [ ! -f $hash ]; then
shell_prompt "./configure.sh -c -h" "configuration"
fi
source $hash
fi
source $hash
echo -e "${nc}Password ${green}$GET_HASH_PASSWORD${nc}"
#; Install PHPUnit, performs unit tests
#; The website must pass health checks in order to be deployed
Expand Down

0 comments on commit a2e012a

Please sign in to comment.