QA/Telemetry/Installing Staging Server: Difference between revisions

Jump to navigation Jump to search
Line 31: Line 31:
= Installation =
= Installation =


Ensure you're still in the '''telemetry-experiment-server''' directory and type the following command in the terminal:
Ensure you're still in the '''telemetry-experiment-server''' directory and run the following command in the terminal:
* python build.py <your directory name> <"base URL">
* python build.py <your directory name> <"base URL">
** Example: python build.py _out "http://localhost:8080"
** Example: python build.py _out "http://localhost:8080"


The above command will create all the necessary files to get the server running and place them into the specified directory. In this case, the files will be placed into a directory names '''_out''' and the server will be running on the '''localhost''' using port '''8080'''.
The above command will create all the necessary files to get the server running and place them into the specified directory. In this case, the files will be placed into a directory names '''_out''' and the server will be running on the '''localhost''' using port '''8080'''.
Once you've ran the above command, switch into the '''_out''' directory and run the following command in the terminal:
* python -m SimpleHTTPServer 8080
The above command will start the HTTP server that will be hosting your staging server. If you navigate to '''http://localhost:8080''', you'll notice a "Firefox Telemetry Experiments" HTML page.
Confirmed users
924

edits

Navigation menu