Sha256: 3fe26639cb0b8435398ea5e78d4bd7d58dfb1dc329d4f4f17a39a9c6207d750a
Contents?: true
Size: 828 Bytes
Versions: 60
Compression:
Stored size: 828 Bytes
Contents
#!/bin/bash VER=1.15.pre DBCFG=../database.yml.local SEEDSQL=../mdummy_test.sql cd wagn/ gem build wagn.gemspec mv *.gem ../card/ cd ../decko-rails gem build decko.gemspec mv *.gem ../card/ cd ../card gem build card.gemspec gem install *-${VER}.gem cd ../test_work rbenv which wagn echo Generate a wagn app wagn new test_wagn_app -c --gem-path='../../' cd test_wagn_app # load seed db (customize to your database.yml) echo "Load seed db (enter the pw)" mysql -u decko_user -p mdummy_test < ${SEEDSQL} # copy db config (populate .local with you user/pw) cp ${DBCFG} config/database.yml echo "migrating" #RAILS_ENV=test bundle exec rake db:migrate --trace RAILS_ENV=test bundle exec rake wagn:migrate --trace #RAILS_ENV=development bundle exec rake db:migrate --trace #RAILS_ENV=development bundle exec rake wagn:migrate --trace
Version data entries
60 entries across 60 versions & 2 rubygems