mirror of
https://github.com/kennethreitz-archive/kr-site-buildpack.git
synced 2026-06-16 21:30:58 +00:00
26 lines
444 B
Bash
Executable File
26 lines
444 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# bin/release <build-dir>
|
|
|
|
BIN_DIR=$(cd $(dirname $0); pwd) # absolute path
|
|
BUILD_DIR=$1
|
|
NAME=$($BIN_DIR/detect $BUILD_DIR) || exit 1
|
|
|
|
cat <<EOF
|
|
---
|
|
config_vars:
|
|
PATH: bin:/usr/local/bin:/usr/bin:/bin
|
|
PYTHONUNBUFFERED: true
|
|
LIBRARY_PATH: .heroku/vendor/lib
|
|
LD_LIBRARY_PATH: .heroku/vendor/lib
|
|
STATIC_DIR: /app/output
|
|
EOF
|
|
|
|
cat <<EOF
|
|
|
|
addons:
|
|
shared-database:5mb
|
|
|
|
default_process_types:
|
|
web: goldenarch
|
|
EOF
|