Sha256: 1c23869a910d5604c7cb1033e9715be61e665bfa0ed7489304e85148fe2c6eac

Contents?: true

Size: 587 Bytes

Versions: 2

Compression:

Stored size: 587 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

# 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

2 entries across 2 versions & 1 rubygems

Version Path
suspenders-1.6.0 templates/bin_setup
suspenders-1.5.1 templates/bin_setup