Skip to content

Instantly share code, notes, and snippets.

@deepak365
Last active May 27, 2022 05:38
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save deepak365/3316270abce892370414bee232f31551 to your computer and use it in GitHub Desktop.
Save deepak365/3316270abce892370414bee232f31551 to your computer and use it in GitHub Desktop.
How to install redash in mac.
What is redash?
Redash is database viewer included BI tool inside. Redash has support for querying multiple databases, including: Redshift, Google BigQuery, PostgreSQL, MySQL, Graphite, Presto, Google Spreadsheets, Cloudera Impala, Hive and custom scripts.
Prerequisite :
1. Install docker
2. Install git
git clone https://github.com/getredash/redash.git
docker-compose -f docker-compose.production.yml run --rm server create_db
docker-compose -f docker-compose.production.yml up
visit http://0.0.0.0:5000
@xen
Copy link

xen commented Jan 25, 2019

Since it shown up in first results on google I wan't to add that sometimes master version can be broken (I've spent all morning trying to make it works). So, if you don't need unreleased features you can use Release tab and download latest stable release.

@KeithYJohnson
Copy link

Can you guys link to the commit you ran this against? I'm getting this error.

docker-compose -f docker-compose.production.yml run --rm server create_db

ERROR: .FileNotFoundError: [Errno 2] No such file or directory: './docker-compose.production.yml'

Or if I run it without the production ref - docker-compose -f docker-compose.yml run --rm server create_db - I get an npm install error.

Thanks!

@natea
Copy link

natea commented Oct 3, 2019

Try docker-compose -f docker-compose.yml run --rm server create_db

@rxin
Copy link

rxin commented Dec 4, 2019

The instruction didn't work for me. What I did tonight to get it working:

Download the latest release from https://github.com/getredash/redash/releases

cd redash
npm install
npm run build
docker-compose -f docker-compose.yml run --rm server create_db
docker-compose -f docker-compose.yml up

Then open 0.0.0.0:5000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment