Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.
/ backups-manager Public archive

Copy backups from heroku s3 to our own s3

License

Notifications You must be signed in to change notification settings

G5/backups-manager

Repository files navigation

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