Skip to content

Commit

Permalink
Use REDASH_BASE_PATH everywhere instead of hardcoded path (getredash#…
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr authored and harveyrendell committed Nov 14, 2019
1 parent ed90764 commit 127e0cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ setup_compose() {
wget https://raw.githubusercontent.com/getredash/redash/${REDASH_BRANCH}/setup/docker-compose.yml
sed -ri "s/image: redash\/redash:([A-Za-z0-9.-]*)/image: redash\/redash:$LATEST_VERSION/" docker-compose.yml
echo "export COMPOSE_PROJECT_NAME=redash" >> ~/.profile
echo "export COMPOSE_FILE=/opt/redash/docker-compose.yml" >> ~/.profile
echo "export COMPOSE_FILE=$REDASH_BASE_PATH/docker-compose.yml" >> ~/.profile
export COMPOSE_PROJECT_NAME=redash
export COMPOSE_FILE=/opt/redash/docker-compose.yml
export COMPOSE_FILE=$REDASH_BASE_PATH/docker-compose.yml
sudo docker-compose run --rm server create_db
sudo docker-compose up -d
}
Expand Down

0 comments on commit 127e0cd

Please sign in to comment.