LasVegasRubyGroup / soapbox

soapbox
MIT License
1 stars 6 forks source link

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 http://www.meetup.com/meetup_api/oauth_consumers/ Also get your api key from http://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)}}

http://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