Skip to content

Commit

Permalink
put DB_HOST and DB_USERNAME in prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
ariestiyansyah committed Sep 7, 2018
1 parent 9c5524f commit 887079b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions install-insights.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ export LC_CTYPE="en_US.UTF-8"
read -p 'Specify the Open edX release (example: open-release/hawthorn.master): ' openedxrelease
read -p 'Enter Insight URL: ' insighturl
read -p 'Enter LMS URL: ' lmsurl
read -p 'Enter LMS MYSQL Password (find it on lms.auth.json): ' dbpassword
read -p 'Enter MYSQL HOST: ' dbhost
read -p 'Enter MYSQL Username: ' dbusername
read -p 'Enter MYSQL Password (find it on lms.auth.json): ' dbpassword

# Set variable
OPENEDX_RELEASE="$openedxrelease"
INSIGHTS_URL="$insighturl"
LMS_URL="$lmsurl"
DB_USERNAME="edxapp001"
DB_HOST="localhost"
DB_USERNAME="$dbusername"
DB_HOST="$dbhost"
DB_PASSWORD="$dbpassword"
DB_PORT="3306"

Expand Down

0 comments on commit 887079b

Please sign in to comment.