mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
Update amazon linux bootstrap.sh
Changed this so it works with recent redash version.
This commit is contained in:
parent
b7ad138c6c
commit
c67519e45d
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user