Project

buckshot

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Helper for switching between shotgun and thin
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
>= 0
>= 0

Runtime

>= 0
 Project Readme

Buckshot

Helps to switch between shotgun and thin appropriately. Can be used inside your Procfile to allow you to use shotgun easily for development.

Usage

# Gemfile
gem "buckshot"

# Procfile
web bundle exec buckshot

Details

Will use the appropriate webserver for your environment.

$ RACK_ENV=development PORT=4000 buckshot
# shotgun -p 4000 -E development

$ RACK_ENV=production PORT=4000 buckshot
# thin start -p 4000 -e production