Skip to content

Commit

Permalink
Remove references to rd_ui
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Nov 26, 2016
1 parent c029e13 commit 68ccf4b
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .dockerignore
@@ -1,4 +1,4 @@
rd_ui/.tmp/ client/.tmp/
rd_ui/node_modules/ client/node_modules/
.git/ .git/
.vagrant/ .vagrant/
3 changes: 1 addition & 2 deletions .gitignore
Expand Up @@ -2,7 +2,7 @@
.idea .idea
*.pyc *.pyc
.coverage .coverage
rd_ui/dist client/dist
.DS_Store .DS_Store
celerybeat-schedule* celerybeat-schedule*
.#* .#*
Expand All @@ -26,5 +26,4 @@ docker-compose.yml
node_modules node_modules
.tmp .tmp
.sass-cache .sass-cache
rd_ui/app/bower_components
npm-debug.log npm-debug.log
4 changes: 1 addition & 3 deletions Dockerfile
Expand Up @@ -23,16 +23,14 @@ RUN chown -R redash /opt/redash/current
# Setting working directory # Setting working directory
WORKDIR /opt/redash/current WORKDIR /opt/redash/current


ENV REDASH_STATIC_ASSETS_PATH="../rd_ui/dist/"

# Install project specific dependencies # Install project specific dependencies
RUN pip install -r requirements_all_ds.txt && \ RUN pip install -r requirements_all_ds.txt && \
pip install -r requirements.txt pip install -r requirements.txt


RUN curl https://deb.nodesource.com/setup_4.x | bash - && \ RUN curl https://deb.nodesource.com/setup_4.x | bash - && \
apt-get install -y nodejs && \ apt-get install -y nodejs && \
sudo -u redash -H make deps && \ sudo -u redash -H make deps && \
rm -rf node_modules rd_ui/node_modules /home/redash/.npm /home/redash/.cache && \ rm -rf node_modules client/node_modules /home/redash/.npm /home/redash/.cache && \
apt-get purge -y nodejs && \ apt-get purge -y nodejs && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
Expand Down
1 change: 0 additions & 1 deletion docker-compose-example.yml
Expand Up @@ -6,7 +6,6 @@ redash:
- redis - redis
- postgres - postgres
environment: environment:
REDASH_STATIC_ASSETS_PATH: "../rd_ui/dist/"
REDASH_LOG_LEVEL: "INFO" REDASH_LOG_LEVEL: "INFO"
REDASH_REDIS_URL: "redis://redis:6379/0" REDASH_REDIS_URL: "redis://redis:6379/0"
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres" REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres"
Expand Down
1 change: 0 additions & 1 deletion setup/amazon_linux/files/env
@@ -1,4 +1,3 @@
export REDASH_STATIC_ASSETS_PATH="../rd_ui/dist/"
export REDASH_LOG_LEVEL="INFO" export REDASH_LOG_LEVEL="INFO"
export REDASH_REDIS_URL=redis://localhost:6379/1 export REDASH_REDIS_URL=redis://localhost:6379/1
export REDASH_DATABASE_URL="postgresql://redash" export REDASH_DATABASE_URL="postgresql://redash"
Expand Down
1 change: 0 additions & 1 deletion setup/ubuntu/files/env
@@ -1,4 +1,3 @@
export REDASH_STATIC_ASSETS_PATH="../rd_ui/dist/"
export REDASH_LOG_LEVEL="INFO" export REDASH_LOG_LEVEL="INFO"
export REDASH_REDIS_URL=redis://localhost:6379/0 export REDASH_REDIS_URL=redis://localhost:6379/0
export REDASH_DATABASE_URL="postgresql://redash" export REDASH_DATABASE_URL="postgresql://redash"
Expand Down
1 change: 0 additions & 1 deletion setup/ubuntu_docker/files/docker-compose.yml
Expand Up @@ -6,7 +6,6 @@ redash:
- redis - redis
- postgres - postgres
environment: environment:
REDASH_STATIC_ASSETS_PATH: ../rd_ui/dist/
REDASH_LOG_LEVEL: INFO REDASH_LOG_LEVEL: INFO
REDASH_REDIS_URL: redis://redis:6379/0 REDASH_REDIS_URL: redis://redis:6379/0
REDASH_DATABASE_URL: postgresql://postgres@postgres/postgres REDASH_DATABASE_URL: postgresql://postgres@postgres/postgres
Expand Down

0 comments on commit 68ccf4b

Please sign in to comment.