User:Kjozwiak/Telemetry Experiments QA: Difference between revisions
Jump to navigation
Jump to search
| Line 19: | Line 19: | ||
* Open '''build.py''' with your favorite text editor, '''vim''' was used in this guide ('''vim build.py''') | * Open '''build.py''' with your favorite text editor, '''vim''' was used in this guide ('''vim build.py''') | ||
* Change | ** Change: ''''xpiURL':''' to '''http://localhost:8080/experiment.xpi''' | ||
** Change: ''''channel':''' to whatever company you're currently testing on (nightly, aurora, beta, release) | |||
Revision as of 17:11, 27 March 2014
Local Staging Server Setup
The following steps will guide users to create a local staging server that we will than use to launch our experiments from.
Note: This guide was done using OSX 10.9.2, the process for Windows will be a little different
- The first step is to run the OSX m-c bootstrap, the command can be found in the link below:
- Clone the telemetry experiment server using the following command:
- Once cloned, a directory named telemetry-experiment-server should have been created
- Switch into the telemetry-experiment-server
- Will than checkout the latest branch using the following command:
- hg checkout <checkout branch #>, Example: hg checkout 42b785b60c60
- Once you've checked out the latest branch, will need to install genshi as it's a prerequisite for building our local server
- To install genshi simply type pip install Genshi in the terminal and follow the onscreen directions
Once you have all of the above completed, the next step will be to edit the build.py file and change a few of the parameters.
- Open build.py with your favorite text editor, vim was used in this guide (vim build.py)
- Change: 'xpiURL': to http://localhost:8080/experiment.xpi
- Change: 'channel': to whatever company you're currently testing on (nightly, aurora, beta, release)