Trying to set up the latest Redash on Windows 10 with Docker. I think I have most of it set up correctly. But the ‘npm run build’ command apparently causes linux-specific commands to be used, so it fails on Windows. Without this, it seems the account creation page has broken styles and images. And after creating an account, all I see is error messages.
I assume getting this npm command to work on Windows is my hang up. I tried version 8 of redash as well, thinking that maybe it was more Windows compatible, but it caused postgres to go into an infinite restart loop because of no admin password being set.
Redash Version: 9.0.0-beta
Browser/OS: Windows 10, Build 19042
How did you install Redash: I used the steps available at https://redash.io/help/open-source/dev-guide/docker. However, they didn’t work quite correctly with Windows, so I ended up doing this:
rmdir redash /s /q
git config --global core.eol lf
git config --global core.autocrlf input
git clone https://github.com/getredash/redash.git
git config --global core.eol crlf
git config --global core.autocrlf true
docker compose up -d
docker-compose run --rm server create_db
docker-compose run --rm postgres psql -h postgres -U postgres -c “create database tests”