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