Skip to content
Snippets Groups Projects
Commit 3f109e1b authored by ale's avatar ale
Browse files

add instructions to build the software from source

parent 9d261d63
Branches
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ autoradio ...@@ -4,7 +4,7 @@ autoradio
========= =========
The AutoRadio service aims to provide a reliable, fault-tolerant Icecast The AutoRadio service aims to provide a reliable, fault-tolerant Icecast
streaming network for audio and video. It provides all the necessary streaming cluster for audio and video. It provides all the necessary
components to ensure that the traffic from the source to the clients components to ensure that the traffic from the source to the clients
is uninterrupted, even in face of high load or server crashes. All is uninterrupted, even in face of high load or server crashes. All
this, if possible, without any operator intervention. this, if possible, without any operator intervention.
...@@ -80,7 +80,6 @@ bootstrap a new streaming cluster: ...@@ -80,7 +80,6 @@ bootstrap a new streaming cluster:
``DOMAIN=radio.example.com`` in ``/etc/default/autoradio``. ``DOMAIN=radio.example.com`` in ``/etc/default/autoradio``.
Securing etcd Securing etcd
+++++++++++++ +++++++++++++
...@@ -99,6 +98,21 @@ certificate in ``/etc/autoradio/etcd_client.pem`` and its private key in ...@@ -99,6 +98,21 @@ certificate in ``/etc/autoradio/etcd_client.pem`` and its private key in
*etcd* using SSL authentication. *etcd* using SSL authentication.
Building from source
++++++++++++++++++++
To build autoradio from source, you should have a Go environment set
up properly on your machine. Autoradio uses godep_ to manage its
dependencies, so make sure you have that installed as well. Building
autoradio should then be as simple as running, from the top-level
source directory::
$ godep go install ./...
This should install the ``radiod``, ``redirectord`` and ``radioctl``
executables in ``$GOPATH/bin``.
Operation Operation
--------- ---------
...@@ -150,17 +164,16 @@ X509-based authentication to etcd. ...@@ -150,17 +164,16 @@ X509-based authentication to etcd.
Instrumentation Instrumentation
+++++++++++++++ +++++++++++++++
The ``redirectord`` daemon exports statistics on served queries (along The ``radiod`` and ``redirectord`` daemons can send runtime metrics to
with data on its own memory usage), in JSON format at the a *statsd* server (by default on localhost:8125).
``/debug/vars`` URL.
Testing Testing
------- -------
There's a Vagrant_ configuration in the ``vagrant-test`` subdirectory There's a Vagrant_ configuration in the ``vagrant-test`` subdirectory
that will turn up a test three-node cluster (with Debian) using that will turn up a test three-node cluster (with Debian Wheezy as the
pre-packaged binaries. To run it:: base system) using pre-packaged binaries. To run it::
$ cd vagrant-test $ cd vagrant-test
$ vagrant up $ vagrant up
...@@ -173,4 +186,4 @@ Use ``vagrant ssh`` to inspect them. ...@@ -173,4 +186,4 @@ Use ``vagrant ssh`` to inspect them.
.. _etcd: https://github.com/coreos/etcd .. _etcd: https://github.com/coreos/etcd
.. _autoca: https://git.autistici.org/ai/autoca .. _autoca: https://git.autistici.org/ai/autoca
.. _Vagrant: http://www.vagrantup.com/ .. _Vagrant: http://www.vagrantup.com/
.. _godep: https://github.com/tools/godep
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment