radiovis-generator 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -3
- metadata +2 -2
data/README.md
CHANGED
@@ -16,9 +16,11 @@ Simply put (though if you want the spec, [it's here](http://radiodns.org/documen
|
|
16
16
|
|
17
17
|
RadioVIS Generator depends on Inkscape (which does not require a GUI) and the ImageMagick project (the 'convert' and 'composite' binaries).
|
18
18
|
|
19
|
-
Aside from those two tools, Ruby is required, along with RubyGems. Recent versions are recommended.
|
19
|
+
Aside from those two tools, Ruby is required, along with RubyGems. Recent versions are recommended - 1.9 or greater. There's a couple of gem dependencies (stomp and trollop).
|
20
20
|
|
21
|
-
You'll also need a Stomp broker, though this can be on another system.
|
21
|
+
You'll also need a Stomp broker, though this can be on another system. A service like Apache ActiveMQ (for which an example configuration for RadioVIS is included) or Apache Apollo will work perfectly for this purpose.
|
22
|
+
|
23
|
+
The generator will write images to any given path, but you'll need to be able to serve these images up over HTTP, so you'll need a webserver like nginx (recommended) or Apache set up and configured.
|
22
24
|
|
23
25
|
RadioVIS Generator is tested on Linux. Other operating systems are supported in principle, but not tested.
|
24
26
|
|
@@ -29,6 +31,12 @@ Installing is simple. Install the dependencies (on Ubuntu, that's `sudo apt-get
|
|
29
31
|
|
30
32
|
You can test the installation out by using the simple command line program bundled with the generator - see `radiovis-generator --help` for options. This will cycle between the slides provided by the gem, and is intended as a really simple starting point for your own runner.
|
31
33
|
|
34
|
+
For example, to serve up some images locally for testing, you might run something like this:
|
35
|
+
|
36
|
+
```
|
37
|
+
radiovis-generator -a "stomp-password" -b "fm/ce1/c08f/10320" -p "/home/james/radiovis/" -u "http://localhost/"
|
38
|
+
```
|
39
|
+
|
32
40
|
|
33
41
|
### Simple Usage
|
34
42
|
|
@@ -84,7 +92,7 @@ end
|
|
84
92
|
Now all we need to do is pass `MyCustomSlide.new` to our runner as a slide to consider in the rotation and we're done! We can customise the SVG file or the background image, adjust the text we're dynamically adding in our slide class, or add new dynamic elements through the same mechanism. The only limit is the lengths to which you're willing to figure out how to do things with SVG.
|
85
93
|
|
86
94
|
|
87
|
-
Loads more information on how to make your own custom slides can be found in the RDoc documentation or by simply reading the `slide.rb` file.
|
95
|
+
Loads more information on how to make your own custom slides can be found in the [RDoc documentation](http://rubydoc.info/gems/radiovis-generator/RadioVISGenerator/Slide) or by simply reading the `slide.rb` file.
|
88
96
|
|
89
97
|
|
90
98
|
## Credits and Acknowledgements
|