Sha256: b6af6397f60565f13081b1a3b32af95db51c946efd4c2967a0575dacf44adac3

Contents?: true

Size: 678 Bytes

Versions: 188

Compression:

Stored size: 678 Bytes

Contents

#!/bin/sh

# script/setup: Set up application for the first time after cloning, or set it
#               back to the initial first unused state.

set -e

cd "$(dirname "$0")/.."

script/bootstrap

echo "===> Setting up DB..."
# reset database to a fresh state.
bin/rake db:create db:reset

if [ -z "$RAILS_ENV" ] && [ -z "$RACK_ENV" ]; then
  # Only things for a development environment will run inside here
  # Do things that need to be done to the application to set up for the first
  # time. Or things needed to be run to to reset the application back to first
  # use experience. These things are scoped to the application's domain.
fi

echo "==> App is now ready to go!"

Version data entries

188 entries across 188 versions & 1 rubygems

Version Path
react_on_rails-13.4.0 script/setup
react_on_rails-13.3.5 script/setup
react_on_rails-13.3.4 script/setup
react_on_rails-13.3.3 script/setup
react_on_rails-13.3.2 script/setup
react_on_rails-13.3.1 script/setup
react_on_rails-13.3.0 script/setup
react_on_rails-13.2.0 script/setup
react_on_rails-13.1.0 script/setup
react_on_rails-13.0.2 script/setup
react_on_rails-13.0.1 script/setup
react_on_rails-13.0.0 script/setup
react_on_rails-13.0.0.beta.0 script/setup
react_on_rails-12.6.0 script/setup
react_on_rails-12.5.2 script/setup
react_on_rails-12.5.1 script/setup
react_on_rails-12.5.0 script/setup
react_on_rails-12.4.0 script/setup
react_on_rails-12.4.0.rc.0 script/setup
react_on_rails-12.3.0 script/setup