Sha256: 5115630034cb61e6e674a488ef34526b971dc101cb3e7af606170e6d833a763c

Contents?: true

Size: 527 Bytes

Versions: 4

Compression:

Stored size: 527 Bytes

Contents

#!/usr/bin/env sh

# Set up Rails app. Run this script immediately after cloning the codebase.

# 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

4 entries across 4 versions & 1 rubygems

Version Path
prop_up-0.0.4 templates/bin_setup
prop_up-0.0.3 templates/bin_setup
prop_up-0.0.2 templates/bin_setup
prop_up-0.0.1 templates/bin_setup