Skip to content

Commit

Permalink
Merge pull request #1525 from kakoni/patch-1
Browse files Browse the repository at this point in the history
Update amazon linux bootstrap.sh
  • Loading branch information
arikfr authored Jan 16, 2017
2 parents 8d1b5b4 + c67519e commit 9489150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/amazon_linux/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ if [ $pg_user_exists -ne 0 ]; then
sudo -u redash psql -c "grant select on events, queries, dashboards, widgets, visualizations, query_results to redash_reader;" redash

cd /opt/redash/current
sudo -u redash bin/run ./manage.py ds new -n "Redash Metadata" -t "pg" -o "{\"user\": \"redash_reader\", \"password\": \"$REDASH_READER_PASSWORD\", \"host\": \"localhost\", \"dbname\": \"redash\"}"
sudo -u redash bin/run ./manage.py ds new "Redash Metadata" --type "pg" --options "{\"user\": \"redash_reader\", \"password\": \"$REDASH_READER_PASSWORD\", \"host\": \"localhost\", \"dbname\": \"redash\"}"
fi


Expand Down

0 comments on commit 9489150

Please sign in to comment.