Sha256: 2c500e672ea765f3d83558ad6d06e9bc8464e9ae51abd248ed84d35b90bc10c0
Contents?: true
Size: 757 Bytes
Versions: 13
Compression:
Stored size: 757 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 database and add any development seed data bundle exec rake dev:prime # Add binstubs to PATH via export PATH=".git/safe/../../bin:$PATH" in ~/.zshenv mkdir -p .git/safe # 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
13 entries across 13 versions & 2 rubygems