Sha256: 075c2116abb53b54bb1fbd46614b4044c895d0294786d5d15e9a51e1abc201b3
Contents?: true
Size: 757 Bytes
Versions: 8
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 configurable environment variables if [ ! -f .env ]; then cp .sample.env .env fi # 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 # 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
8 entries across 8 versions & 2 rubygems