Skip to content

Instantly share code, notes, and snippets.

View gist:b899dff51ce7632b6c7b
Estimated total time to execute: 2hr not including pre-replication
Ensure performance test make_doc script has production endpoint
Comment out deploys tests, DO NOT COMMIT
Setup SSH tunnel between AWS background-001 to Linode MySQL
Replicate Linode MySQL to AWS (3hr+) as docraptor-production
One-time copy non-queue Redis data
Verify AWS endpoint working
./script/service_test && ./script/service_test
View async_ruby_example.rb
require 'rubygems'
require 'doc_raptor'
DocRaptor.api_key "YOUR_API_KEY_HERE"
pdf_html = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""><html lang="en"><body><a href="">google</a></body></html>'
You can’t perform that action at this time.