I am trying to make a basic hello world type change to the code. I changed /redash/templates/footer.html and /app/components/footer. The change was small, I just added an extra ‘a’ in front of the redash link. Now I would like to see this change on the website itself (not the webpack dev server, but the :80 production port).
I tried everything I could find including all 3 npm run commands (start, build and watch) and sudo supervisorctl restart redash_server. I can’t seem to get that extra ‘a’ to show up in production.
PS: Yes I cleared the browser cache. I can see the template still in app.js. So the app.js file is not being updated.
Nope, sorry, no cake. It still doesn’t reflect the changes. I tried your steps. Also tried it in incognito. Is there any other way I can diagnose it?
Does it make a difference that I am running redash from the git clone of the repo instead of docker or any other format? Or that the directory’s name isn’t redash.
FYI (kind of off topic) I was trying the bootstrap installer on ubuntu 16.10 and it failed twice. Once on not finding setuptools and other casandra-driver on not finding cython. I had to manually install them both and rerun the boorstrap file. (I realize it’s not meant to be rerun but it seems to work out anyways). Only other thing is maybe delete /opt/redash at the beginning.
My mistake was that I was doing all of this in my repo, but instead I should be doing it in /opt/redash. Now I can see my changes but this makes it tricky for me to deploy changes from my repo. How can I create such a flow that I pull changes into my own repo from a remote and then do something to send them to /opt/redash/current?
@arikfr,
I have redash running on ec2, (i think i clicked the easy install AMI)
the root of the ec2 has an /opt/redash directory,
but that just has the docker-compiose.tml, and the certs for https,
it does not have the …/current/client/ tree.
I can find the code in the redash server inside a container, but changing it there does not make it to the live .
npm is not installed on the root ec2 nor in the containers, and neither is supervisorctl. so that’s not helpful. I’m not sure what’s keeping my server up (there’s an nginx dir inside the /opt redash , but the nginx.service file is nowhere to be found)
suggests this has been solved in https://github.com/getredash/redash/pull/1582/files
by adding these steps to Dockerfile.
they are indeed there, but still need to by ran manually to pass the first Error[2] and get to the next one
TL;DR: How can I get a version of 8.0.2 running? thanks
Login or sign up disabled while the site is in read only mode