Update to aquarius-wp-config

Jonathan Hodgson 6 years ago
parent c321f16653
commit 605a95bd7b
  1. 9
      bin/aquarius-wpconfig

@ -25,9 +25,13 @@ if [ -f "$DIR/wp-config.php" ]; then
fi fi
fi fi
echo "Downloading sample" if [ ! -f "$DIR/wp-config-sample.php" ]; then
echo "File not found!"
echo "Downloading sample"
curl "https://raw.githubusercontent.com/WordPress/WordPress/master/wp-config-sample.php" -o wp-config.php
fi
curl "https://raw.githubusercontent.com/WordPress/WordPress/master/wp-config-sample.php" -o wp-config.php cp wp-config-sample.php wp-config.php
echo "Downloading Salts" echo "Downloading Salts"
@ -45,6 +49,7 @@ wp config set 'DB_USER' "root" > /dev/null
wp config set 'DB_PASSWORD' "root" > /dev/null wp config set 'DB_PASSWORD' "root" > /dev/null
wp config set 'DB_HOST' "localhost" > /dev/null wp config set 'DB_HOST' "localhost" > /dev/null
wp config set 'JQUERY' "/wp-includes/js/jquery/jquery.js" --type=constant > /dev/null
echo -e "Would you like to have debug on? [y/N] \c" echo -e "Would you like to have debug on? [y/N] \c"
read input read input

Loading…
Cancel
Save