Skip to content

Instantly share code, notes, and snippets.

@bjelline
Last active December 20, 2015 01:19
Show Gist options
  • Save bjelline/6048466 to your computer and use it in GitHub Desktop.
Save bjelline/6048466 to your computer and use it in GitHub Desktop.
what to do to the 4 example apps when learnery-engins changes
rake learnery:install:migrations
rake db:migrate
cp -a ../learnery-engine/test/factories/* test/factories
git diff
revision=`grep -A1 git://github.com/learnery/learnery.git Gemfile.lock |grep revision| sed -e 's/.*: //'`
git add db/migrate
git add test/factories
git commit -a -m "upgraded to learnery engine $revision"
git push github master; git push origin master
heroku run rake db:migrate
heroku restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment