G5 / backups-manager

Copy backups from heroku s3 to our own s3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

bundle install
cp config/database.yml.example config/database.yml

Edit your database.yml with your local database credentials.

bundle exec rake db:create db:migrate

You'll need to create a .env or a .env.development file that looks something like this...

HEROKU_AUTH_TOKEN=super-secret-auth-token-from-heroku
DEVISE_SECRET_KEY=generate-by-running-rake-secret
GITHUB_ACCESS_TOKEN=api-credentials-token

G5_AUTH_CLIENT_ID=gigitygigitygigitygigity
G5_AUTH_CLIENT_SECRET=blahblahblahblahblahblahblah
G5_AUTH_REDIRECT_URI=http://localhost:3000/g5_auth/users/auth/g5/callback 
G5_AUTH_ENDPOINT=https://dev-auth.g5search.com

About

Copy backups from heroku s3 to our own s3

License:MIT License


Languages

Language:Ruby 62.1%Language:CSS 17.3%Language:HTML 14.0%Language:CoffeeScript 6.0%Language:JavaScript 0.6%