This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#get inside container as root | |
sudo docker exec -u0 -ti redash_server_1 bash | |
# get inside redash/handlers/ folder where query_results.py script is | |
cd redash/handlers/ | |
# make a copy of the query_results.py script with another name | |
cp query_results.py query_results_original.py | |
#edit the script using nano | |
# update and upgrade apt if needed to install nano if missing | |
sudo apt-get update && sudo apt-get upgrade && apt-get install nano | |
nano query_results.py |