The webapp used to manage Winning Side Ministries' videos
Ruby Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

WSManage setup script

The current incarnation of WSManage has a lot of dependencies, as does it's development. I plan to rewrite it in Ruby/Gtk+ in the near future, but until then a poor distro-hopper needs a way to get it up and running quickly from scratch.

This setup script uses pure Ruby everywhere it can, and fills in with bash where it can't. It actually started out as a bash script until I went nuts wondering how to modularize code when I can't return real values from methods.

It may not be as DRY as possible, and it's definitely not object-oriented, but it seems to work well. Due to the procedural nature of the script I didn't think an object oriented approach would fit well without it growing into something as huge as Chef or Puppet. I specifically did not want to use those solutions due to the small scale and local nature of this setup.