/bin/setup
It's quite nice when you take over a project and you have simple instructions in the README. For example, you could specify the manual steps and then tell the developer to run ./bin/setup
This is a pretty standard setup bash script:
#!/bin/bash
cp .ruby-version.sample .ruby-version
cd .
gem install bundler --no-ri --no-rdoc
git submodule init; git submodule update --init
bundle
mysql.server start
bundle exec rake db:create
bundle exec rake db:setup
Written by ombulabs
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#