QA/Telemetry/Developing a Telemetry Experiment: Difference between revisions

Jump to navigation Jump to search
more info
(more info)
(more info)
Line 30: Line 30:
* To test, you need to build the telemetry server (which is a simple static folder). To build it, you do in the root of the repo:
* To test, you need to build the telemetry server (which is a simple static folder). To build it, you do in the root of the repo:
** <code>python build.py ../build http://localhost:8080</code>
** <code>python build.py ../build http://localhost:8080</code>
* you can change ../build to any folder where you want to output it, **but note:**: this folder will be erased by the build.py script
* you can change ../build to any folder where you want to output it, '''but note:''': this folder will be erased by the build.py script
* the last argument should be a string with the base URL of the server that you're going to set up  (it's used to fill some data in the generated .json file).  If you plan to publish the test server in a different path (e.g., people.mozilla.org), you will need to change it
* Now you need to run a http server rooted at that folder. You can do that easily with python with:
** <code>cd ../build</code>
** <code>python -m SimpleHTTPServer 8080</code>
Confirmed users
371

edits

Navigation menu