Sha256: eeb5068cf9624861a05ea64902dcd5011e323ece1b732d0b4679665c31599670

Contents?: true

Size: 626 Bytes

Versions: 6

Compression:

Stored size: 626 Bytes

Contents

#!/usr/bin/env sh

# Set up Rails app. Run this script immediately after cloning the codebase.
# https://github.com/thoughtbot/guides/tree/master/protocol

# Exit if any subcommand fails
set -e

# Set up Ruby dependencies via Bundler
bundle install

# Set up the database
bundle exec rake db:setup

# Set up configurable environment variables
if [ ! -f .env ]; then
  cp .sample.env .env
fi

# Pick a port for Foreman
echo "port: 7000" > .foreman

# Set up DNS via Pow
if [ -d ~/.pow ]
then
  echo 7000 > ~/.pow/`basename $PWD`
else
  echo "Pow not set up but the team uses it for this project. Setup: http://goo.gl/RaDPO"
fi

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
re-rails-0.1.6 templates/bin_setup
re-rails-0.1.3 templates/bin_setup
re-rails-0.1.2 templates/bin_setup
re-rails-0.1.1 templates/bin_setup
re-rails-0.1.0 templates/bin_setup
suspenders-1.7.0 templates/bin_setup