Skip to content

Instantly share code, notes, and snippets.

@andrewn
Last active August 29, 2015 14:04
Show Gist options
  • Save andrewn/235ffc1f801a659096ee to your computer and use it in GitHub Desktop.
Save andrewn/235ffc1f801a659096ee to your computer and use it in GitHub Desktop.
Discovery instructions

Install

Server and app

  1. Clone the radiodan server and example applications:

     $ git clone https://github.com/radiodan/radiodan.js
     $ git clone https://github.com/radiodan/client-web-example
    
  2. Run npm install in both directories.

  3. Ensure you have a valid server config file in radiodan.js e.g.:

     $ cp radiodan.js/config.json.example  radiodan.js/config.json
    

Chrome Helper App and Chrome Extension

  1. Clone the Chrome Helper App and Chrome Extension:

     $ git clone https://github.com/andrewn/discovery-helper-app
     $ git clone https://github.com/andrewn/discovery-extension
    
  2. In Chrome, go to chrome://extensions/. It's also available through the Chrome -> Preferences -> Extensions.

  3. Select Developer mode (top right)

  4. Select Load unpacked extension

  5. Navigate to the discovery-helper-app folder.

  6. Select Select. "Radiodan Discovery Helper" should appear in the list of Extensions.

  7. Repeat steps 4-6 for the discovery-extension folder.

Starting

Server and app

Start rabbitmq:

$ rabbitmq-server -detach

Radiodan server:

$ cd radiodan.js
$ ./bin/server config/config.json

In another terminal:

	$ cd client-web-example
	$ node index.js

Chrome Helper and Extensions

The Helper App be launched automatically. If not, select Launch under "Radiodan Discovery Helper".

The Extension will appear in the browser toolbar using the Radiodan logo.

Usage

  1. Click the Radiodan logo and a list of discovered Radiodan on the local network will appear.

  2. Select a radio, a simple web interface will open in a new tab

Stopping

Use Ctl-C to kill the radiodan.js and client-web-example processes. Disable the Chrome Helper and Chrome Extension by selecting the Enabled checkbox next to both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment