A Sinatra/ActiveRecord based app that allows users to nominate each other for awards and vote on them.
git remote add fork [email protected]:<your_username>/launchvotes.git
git remote add origin [email protected]:omidbachari/launchvotes.git
git remote add staging [email protected]:launchvotes-staging.git
git remote add production [email protected]:launchvotes.git
heroku pg:backups capture --remote production
curl -o db/dumps/latest.dump `heroku pg:backups public-url --remote production`
pg_restore --verbose --clean --no-acl --no-owner -h localhost -d launchvotes_development db/dumps/latest.dump
heroku pg:backups capture --remote production
heroku pg:backups restore `heroku pg:backups public-url --remote production` DATABASE --remote staging