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-9.0.0.beta.5 script/setup
react_on_rails-9.0.0.beta.4 script/setup
react_on_rails-9.0.0.beta.3 script/setup
react_on_rails-9.0.0.beta.2 script/setup
react_on_rails-9.0.0.beta.1 script/setup
react_on_rails-8.0.6 script/setup
react_on_rails-8.0.6.rc.1 script/setup
react_on_rails-8.0.6.rc.0 script/setup
react_on_rails-8.0.5 script/setup
react_on_rails-8.0.4 script/setup
react_on_rails-8.0.3 script/setup
react_on_rails-8.0.2 script/setup
react_on_rails-8.0.1 script/setup
react_on_rails-8.0.0 script/setup
react_on_rails-8.0.0.beta.3 script/setup
react_on_rails-8.0.0.beta.2 script/setup
react_on_rails-8.0.0.beta.1 script/setup
react_on_rails-7.1.0.beta.3 script/setup
react_on_rails-7.0.4 script/setup
react_on_rails-7.1.0.beta.2 script/setup