Sha256: 281c651bfdca68bb0510253026293588a9e2fabc208f89fa1c49b6801165dc50

Contents?: true

Size: 607 Bytes

Versions: 3

Compression:

Stored size: 607 Bytes

Contents

#!/bin/sh

# Set up Rails app. Run this script immediately after cloning the codebase.
# https://la-guia.platan.us/code/rails.html#getting-started

# Exit if any subcommand fails
set -e

# Set up Ruby dependencies via Bundler
gem install bundler --conservative
bundle check || bundle install

# Install javascript dependencies
bin/yarn install

# Set up required services
make services-up

# Set up database
bin/rails db:setup

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

<% if selected?(:heroku) -%>
# Setup heroku remotes
bin/setup_heroku
<% end-%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
potassium-5.2.3 lib/potassium/assets/bin/setup.erb
potassium-5.2.2 lib/potassium/assets/bin/setup.erb
potassium-5.2.1 lib/potassium/assets/bin/setup.erb