Sha256: a8ee4062a2e27b32a6e9ff675c81a7c969cac2a549c060157b1b341decd91be3

Contents?: true

Size: 846 Bytes

Versions: 18

Compression:

Stored size: 846 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
gem install bundler --conservative
bundle check || bundle install

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

# Set up database and add any development seed data
bin/rake dev:prime

# Add binstubs to PATH via export PATH=".git/safe/../../bin:$PATH" in ~/.zshenv
mkdir -p .git/safe

# Pick a port for Foreman
if ! grep --quiet --no-messages --fixed-strings 'port' .foreman; then
  printf 'port: <%= config[:port_number] %>\n' >> .foreman
fi

if ! command -v foreman > /dev/null; then
  gem install foreman
fi

# Only if this isn't CI
# if [ -z "$CI" ]; then
# fi

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
chr-0.5.7 templates/bin_setup.erb
chr-0.5.6 templates/bin_setup.erb
chr-0.5.5 templates/bin_setup.erb
chr-0.5.4 templates/bin_setup.erb
chr-0.5.3 templates/bin_setup.erb
chr-0.5.1 templates/bin_setup.erb
chr-0.5.0 templates/bin_setup.erb
chr-0.4.25 templates/bin_setup.erb
chr-0.4.24 templates/bin_setup.erb
chr-0.4.23 templates/bin_setup.erb
chr-0.4.22 templates/bin_setup.erb
chr-0.4.21 templates/bin_setup.erb
chr-0.4.20 templates/bin_setup.erb
chr-0.4.19 templates/bin_setup.erb
chr-0.4.18 templates/bin_setup.erb
chr-0.4.17 templates/bin_setup.erb
chr-0.4.15 templates/bin_setup.erb
chr-0.4.14 templates/bin_setup.erb