succinct description of the workplace
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
public
script
spec
views
.gems
.gitignore
MIT-LICENSE
README.rdoc
Rakefile
application.rb
config.ru
environment.rb
users.yml

README.rdoc

Love/HATE

An in-house way to voice happy (and vicious) thoughts for everyone to see.

Configuration

Love/HATE is a Sinatra application with several gem dependencies. You'll probably first want to install all the necessary gems with rake gems:install.

You can set up the database by doing rake db:migrate RACK_ENV=production.

Naming Users

Edit /users.yml and add all variants of user's names that you want to recognize. When you love or hate something, if it matches a user's name, it will precede it with an @.

Posting

Every user who wants to post to your love/HATE instance will need to put their public key (in PEM format, named whatever.pem) in the /public/keys directory. However the key is named will be listed as the name of the user writing the note.

If you already have an id_rsa and an id_rsa.pub in your ~/.ssh directory, you can generate a PEM public key by doing openssl rsa -pubout -in ~/.ssh/id_rsa > yourname.pem.

Download and customize the love and hate scripts (change the URL for your love/HATE server) and put them in your path, then just type love love/HATE, this could be awesome and watch it appear on your instance.