Skip to content

omidbachari/launchvotes

Repository files navigation

LaunchVotes

Build Status Code Climate Coverage Status

A Sinatra/ActiveRecord based app that allows users to nominate each other for awards and vote on them.

Links

Production

Staging

Setup git Remotes

git remote add fork git@github.com:<your_username>/launchvotes.git
git remote add origin git@github.com:omidbachari/launchvotes.git
git remote add staging git@heroku.com:launchvotes-staging.git
git remote add production git@heroku.com:launchvotes.git

Copy LaunchVotes-Production Database to Development

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

Copy LaunchVotes-Production Database to Staging

heroku pg:backups capture --remote production
heroku pg:backups restore `heroku pg:backups public-url --remote production` DATABASE --remote staging

Working with PGBackups

Heroku link

About

A web app where Launchers can nominate weekly award winners

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •