Created
March 3, 2020 11:18
-
-
Save matthutchinson/abec9e73dbbba13efa4fb254c4da3231 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env bash | |
set -e | |
# load default envrc | |
source_up | |
# auto-switch rubies | |
use chruby --auto | |
# node from ~/.nvmrc | |
use node | |
# app env vars | |
export DB_HOST=127.0.0.1 | |
export STATSD_HOST=localhost | |
export GRAPHITE_HOST=localhost | |
# copied from .env but not STDOUT logging (too noisey) | |
export PORT=3000 | |
export BINDING=127.0.0.1 | |
export FREEAGENT_CACHE_STORE=memcached | |
export DISABLE_BULLET=true | |
# https://github.com/puma/puma-dev | |
export CONFIG=config/puma-dev.rb | |
export WORKERS=1 | |
export THREADS=5 | |
# add local bin to PATH, avoids bundle exec with binstubs | |
PATH_add ./bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment