forked from getredash/redash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move .bowerrc, bower.json, gulpfile.js, package.json down to root level. Update paths in .bowerrc, gulpfile.js, Makefile Add a heroku-postbuild step to package.json which installs devDependencies and runs the build. Add step in bin/pre_compile which adds the requirements_all_ds.txt to requirements.txt to ensure that cffi is installed. Also removes pymssql as this is not supported on Heroku. Add content from rd_ui/.gitignore to .gitignore and remove rd_ui/.gitignore. Add section in setup.rst about Heroku deployments.
- Loading branch information
1 parent
cfb852e
commit c75054b
Showing
11 changed files
with
74 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"directory": "rd_ui/app/bower_components" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,8 @@ dump.rdb | |
|
||
# Docker related | ||
docker-compose.yml | ||
|
||
node_modules | ||
.tmp | ||
.sass-cache | ||
rd_ui/app/bower_components |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
web: ./manage.py runserver -p $PORT --host 0.0.0.0 | ||
worker: ./bin/run celery worker --app=redash.worker --beat -Q queries,celery,scheduled_queries |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
# heroku post_compile script | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
pushd $DIR/.. | ||
|
||
# heroku requires cffi to be in requirements.txt in order for libffi to be installed. | ||
# https://github.com/heroku/heroku-buildpack-python/blob/master/bin/steps/cryptography | ||
# to avoid making it a requirement for other build systems, we'll inject it now | ||
# into the requirements.txt file | ||
# remove pymssql, it doesn't compile on heroku | ||
grep -v '^pymssql' requirements_all_ds.txt >> requirements.txt | ||
|
||
# make the heroku Procfile the active one | ||
cp Procfile.heroku Procfile | ||
|
||
popd |
File renamed without changes.
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.