Sha256: 63cf5fab3087b94c746ab2d52555288b3db23e80b9966983d8aaca0b2f7e8e99

Contents?: true

Size: 625 Bytes

Versions: 26

Compression:

Stored size: 625 Bytes

Contents

#!/bin/bash
# Everything in this bootstrap script
# is idempotent. It is OK to run again
# on an existing project if you are
# uncertain whether it is set up.

git submodule update --init
bundle

# See if the databases already exist
bundle exec rails runner "ActiveRecord::Base.connection" 2> /dev/null
if [ $? -ne 0 ] ; then
  echo -e "\n\033[34;1mCreating and seeding your database\033[0m"
  bundle exec rake db:setup
  bundle exec rake db:seed
fi

# Always run migrations because schema
# changes required by modules will be
# declared in those.
echo -e "\n\033[34;1mRunning migrations\033[0m"
bundle exec rake db:migrate

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
houston-core-0.9.2 templates/new-instance/bin/setup
houston-core-0.9.1 templates/new-instance/bin/setup
houston-core-0.9.0 templates/new-instance/bin/setup
houston-core-0.9.0.rc1 templates/new-instance/bin/setup
houston-core-0.8.4 templates/new-instance/bin/setup
houston-core-0.8.3 templates/new-instance/bin/setup
houston-core-0.8.2 templates/new-instance/bin/setup
houston-core-0.8.1 templates/new-instance/bin/setup
houston-core-0.8.0 templates/new-instance/bin/setup
houston-core-0.8.0.pre2 templates/new-instance/bin/setup
houston-core-0.8.0.pre templates/new-instance/bin/setup
houston-core-0.7.0 templates/new-instance/bin/setup
houston-core-0.7.0.beta4 templates/new-instance/bin/setup
houston-core-0.7.0.beta3 templates/new-instance/bin/setup
houston-core-0.7.0.beta2 templates/new-instance/bin/setup
houston-core-0.7.0.beta templates/new-instance/bin/setup
houston-core-0.6.3 templates/new-instance/bin/setup
houston-core-0.6.2 templates/new-instance/bin/setup
houston-core-0.6.1 templates/new-instance/bin/setup
houston-core-0.6.0 templates/new-instance/bin/setup