Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.42 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.42 KB

waldo

GitHub URL: https://github.com/MattTheRat/waldo

Never wonder where your coworkers are again!

Current Version

Beta 2 Release - 11 Feb 2013 Preceding commit - 7bc14826b24aa3fc64a69065647a2d9fd0a0ab5c

TODO

This is still in development. My plans have been put into tickets on GitHub. If you have a request, please raise an issue on GitHub.

INSTALL

I won't go into the details of setting up passenger right now but it's highly suggested for any production environment

Checkout this code into a location on your server.

To get the database set up, copy config/database.yml.example to config/database.yml and set database options appropriately

After setting up your database with correct permissions, run rake db:migrate

  • NOTE: If you are not running in "development", remember to set RAILS_ENV=$environment before running "rake"

To run locally or in development, run rails server from the root of the checkout.

For SENDMAIL servers:

  • place/link extras/email_parser.rb in /etc/smrsh
  • add alias for waldo in /etc/aliases
    • line should read:
    • waldo: "|/etc/smrsh/email_parser.rb"

I have provided a clean script that will remove all users in the database from past dates. If you wish to have it run, schedule it in cron!

0 3 * * * /path/to/waldo/extras/db_clean.rb

UPGRADE

Nothing yet. I don't plan to mess with the database model too badly so code should be easily upgraded.