読者です 読者をやめる 読者になる 読者になる

インストールメモ:Redash

wget https://raw.githubusercontent.com/getredash/redash/master/setup/ubuntu/bootstrap.sh
sudo sh bootstrap.sh

sudo pip install fabric requests
$ wget https://gist.githubusercontent.com/arikfr/440d1403b4aeb76ebaf8/raw/f9ae30f6b0968987a5957aba33bd393e542cb549/fabfile.py
$ fab -Hlocalhost -uroot -ioratech_redash deploy_latest_release

vi /opt/redash/.env
export REDASH_GOOGLE_CLIENT_ID="***"
export REDASH_GOOGLE_CLIENT_SECRET="***"
export REDASH_MAIL_DEFAULT_SENDER="aa@example.com"
export REDASH_HOST="http://redash.example.com/"
export REDASH_PASSWORD_LOGIN_ENABLED=false

root@redash:~# cd /opt/redash/current
sudo -u redash bin/run ./manage.py org set_google_apps_domains example.com

再起動
supervisorctl restart redash_server

バージョンアップ
fab -Hredash.example.com -uroot -iid_rsa deploy_latest_release

sudo -u redash bin/run ./manage.py users grant_admin j.watanabe@example.com