Sha256: c301ae047a47485278303cddc29fc160586e502053cd81c2d54cc18ca8ad8516
Contents?: true
Size: 885 Bytes
Versions: 1
Compression:
Stored size: 885 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: <%= config[:port_number] %>" > .foreman # Print warning if Foreman is not installed if ! command -v foreman &>/dev/null; then echo "foreman is not installed." echo "See https://github.com/ddollar/foreman for install instructions." fi if [ -d ~/.pow ]; then echo <%= config[:port_number] %> > ~/.pow/<%=app_name%> fi
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoelaces-0.1.0 | templates/bin_setup.erb |