Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

LasVegasRubyGroup/soapbox

Repository files navigation

You’ll need a .env file setup for local variables. Heroku already has these set in production.

Log into your meetup account and setup a new app here www.meetup.com/meetup_api/oauth_consumers/ Also get your api key from www.meetup.com/meetup_api/key/

Need to asign meeting_id in production Meeting.all.each { |m| m.time_slots.each { |t| t.topic.update_attribute(:meeting_id, m.id)}}

staging-lvrug-soapbox.herokuapp.com/

Here is an example file:

export MEETUP_API_KEY=XXX
export MEETUP_KEY=XXX
export MEETUP_SECRET=XXX
export MEETUP_GROUP=las-vegas-ruby-on-rails

Pull production database

heroku pgbackups:capture curl -o latest.dump ‘heroku pgbackups:url` pg_restore –verbose –clean –no-acl –no-owner -h localhost -U juddl333 -d soapbox_development latest.dump