Documentation for the telemetry server is on read the docs.
See quickstart for more detail.
Make sure you have python and pip:
$ sudo apt-get install python2.7 python-pip python-dev virtualenvwrapper
If virtualenvwrapper is installed, go ahead and close your terminal and re-open it again.
Return to the directory where you cloned telemetry.
To build the javascript you need coffeescript
$ sudo apt-get install nodejs coffeescript
Now you can build the js:
$ make build
For the server, install libyaml:
$ sudo apt-get install libyaml-0-2
Create a python environment to run in:
$ mkvirtualenv psas-telemetry
Install python dependencies:
(psas-telemetry)$ pip install -r requirements.txt
Start the telemetry server. If you changed some scripts, don't forget to
rerun make build
.
(psas-telemetry)$ ./telemetry.py
Once the rocket is sending data and the backend server is running, simply navigate to http://localhost:8080 to start seeing data.
When you're finished, kill the script with Ctrl+C and get out of the virtualenv with deactivate
.
To resume the environment, navigate back to this directory and run workon psas-telemetry
.