Hi,
I was trying to setup redash
for testing purposes, to check how can I use this in my environment. I was following documentation Docker Based Developer Installation Guide
which is at this link https://redash.io/help/open-source/dev-guide/docker
The 2nd point in the which tells the nodejs requirement and its version, where is clearly mentions Install Node.js (14.16.1 or newer, can be installed with Homebrew on OS/X)
, so ideally new version should work. I am getting below error with node version 17.3.1.
I am getting this error when I run yarn --frozen-lockfile
error redash-client@11.0.0-dev: The engine “node” is incompatible with this module. Expected version “^14.16.1”. Got “17.3.1”
To overcome this, I modified the package.json
file and changed the engines.version
.
Now I moved to the step where we need to create docker services. Now I ran docker-compose up -d
and immediately I get error saying we are missing .env file
. No where in this page it is mentioned about the .env
file and what has to be in this file. After almost an hour of trying to figure out what are the minimum environment variables required, I got it REDASH_COOKIE_SECRET
and REDASH_SECRET_KEY
.
Please update the documentation.
Another error I faced was something related to tsc missing
, to resolve this I have to run npm install typescript -g
. Not mentioned anywhere in the documentation.
The create database part I think is the only step which did not give any error.
Just to be on the safe side, I created the database for tests.
Just as clarification, please mention full command to run ping
. The command is simply curl http://localhost:5000/ping
Rest of the steps worked fine.
After these changes and testing out a few things here and there. I was finally able to run redash
and test it.
It will be great it we can have the documentation updated
Regards,
Mudasir Mirza.