Sha256: 655a47883a3ed525122da721f92171e3115c6946d7466568ed851d6c465b4fa1
Contents?: true
Size: 755 Bytes
Versions: 24
Compression:
Stored size: 755 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 db:setup # Add binstubs to PATH via export PATH=".git/safe/../../bin:$PATH" in ~/.zshenv mkdir -p .git/safe # Pick a port for Foreman echo "port: 3000" > .foreman # Set up DNS via Pow if [ -d ~/.pow ] then echo 3000 > ~/.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
24 entries across 24 versions & 1 rubygems