11 Oct '17, 1pm

I was going to write a blog post about why your project needs a `bin/setup`, but @thoughtbot already did:

In our protocol guide , we instruct new developers to set up an existing Rails app like this: git clone [email protected]:organization/app.git cd app ./bin/setup The goal of the bin/setup script is quick, reliable, consistent setup. It is placed in the bin directory to match new Rails conventions about executables . Rails as of version 4.2.0 generates a bin/setup file by default. Here’s an example bin/setup : #!/bin/sh # Set up Rails app. Run this script immediately after cloning the codebase. # https://github.com/thoughtbot/guides/tree/master/protocol # Set up Ruby dependencies bundle install # Set up staging and production git remotes git remote add staging [email protected]:app-staging.git git remote add production [email protected]:app-production.git # Set up database bundle exec rake db:setup # Set up configurable environment variables for Foreman if [ ! -f .env ] ; then echo ...

Full article: https://robots.thoughtbot.com/bin-setup

Tweets

@boboroshi I made a blog post once, but not muc...

tenderlovemaking.com 12 Oct '17, 2am

Crouching Tiger, Hidden Salami 2012-07-09 @ 16:51 I’ve been learning how to cure meat, and I thought I should share my set...

Join @thoughtbot as our Marketing Director

robots.thoughtbot.com 10 Oct '17, 12am

We’re looking for a Marketing Director to join our team in either Boston or New York City to lead our marketing efforts. I...