Skip to content

Instantly share code, notes, and snippets.

@drewwells
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewwells/9509284 to your computer and use it in GitHub Desktop.
Save drewwells/9509284 to your computer and use it in GitHub Desktop.
Telemetry install instructions for warp-factor

###Dependencies

  • Python 2.7
  • -Chrome, Chromium or Chrome OS installed on your computer-
  • -13gigs of free disk space-

###Install instructions In this part, you will be downloading Chromium source, the new warp factor client, and setting making some binaries available in your path.

###Chromium

  1. Download telemetry.zip https://www.dropbox.com/s/iiqj8dp3l1xbe6y/telemetry.zip Skip to 5.

  2. Download the google depot tools.

    git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

  3. The rest of this document expects these tools to be available in your path. Otherwise call fetch directly ie. ./depot_tools/fetch ...

  4. Next, download Chromium. This repo is 12gigs so use a fast internet connection. It will create a src directory wherever you run this command. I recommend putting it in ./chromium

    fetch --nohooks chromium --nosvn=True

  5. After this is done, you need to make two tools available in your path. You can do this by adding them to your path. Add this to your bashrc or zshrc so it's always available.

    export PATH=$PATH:/chromium/src/tools/perf/

###Usage Install version 0.1.1 of warp-factor and download the telemetry-test.json file below.

npm i -g http://ui.eng.wsm.local/warp-factor.tar.gz
warp telemetry-test.json

If chrome starts up and loads the macy's page. It was successful!

THANK YOU

{
"description": "RMN Test",
"archive_data_file": "wpr/www.retailmenot.com.wpr",
"user_agent_type": "desktop",
"pages": [
{
"url": "http://www.retailmenot.com/view/macys.com?slice=control"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment