mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
Fix comment in bin/pre_compile. Remove .gitattributes and .travis.yml in rd_ui/. Remove bin/run from Procfile.heroku. Update documentation: -Add a note about upgrading from version to version. -Remove commands for DATABASE_URL and REDIS_URL. -Add importance to the cookie secret variable. -Merge adding redis and postgres addons into 1 step.
18 lines
593 B
Bash
18 lines
593 B
Bash
#!/usr/bin/env bash
|
|
# heroku pre_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
|