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-11.0.0.beta.1 script/setup
react_on_rails-10.1.4 script/setup
react_on_rails-10.1.3 script/setup
react_on_rails-10.1.1 script/setup
react_on_rails-10.1.0 script/setup
react_on_rails-10.0.2 script/setup
react_on_rails-10.0.1 script/setup
react_on_rails-10.0.0 script/setup
react_on_rails-9.0.3 script/setup
react_on_rails-9.0.2 script/setup
react_on_rails-9.0.1 script/setup
react_on_rails-9.0.0 script/setup
react_on_rails-9.0.0.rc.0 script/setup
react_on_rails-9.0.0.beta.12 script/setup
react_on_rails-9.0.0.beta.11 script/setup
react_on_rails-9.0.0.beta.10 script/setup
react_on_rails-9.0.0.beta.9 script/setup
react_on_rails-9.0.0.beta.8 script/setup
react_on_rails-9.0.0.beta.7 script/setup
react_on_rails-9.0.0.beta.6 script/setup