LunarLogicPolska / rubytime

A Merb-based time tracking and invoicing system

This URL has Read+Write access

name age message
file .gitignore Mon Nov 30 13:44:06 -0800 2009 gitignore entire gems folder [solnic]
file CHANGELOG-API.txt Mon Nov 16 01:14:23 -0800 2009 renamed iphone_user_type to user_type [psionides]
file CHANGELOG.txt Mon Aug 31 07:54:39 -0700 2009 added changelog and updated readme [Marcin Kulik]
file Gemfile Mon Nov 30 12:43:07 -0800 2009 changed rcov_stats to standard rcov; tweaked sp... [solnic]
file README.textile Mon Oct 26 09:57:47 -0700 2009 updated README (gem installation guide) [psionides]
file Rakefile Mon Nov 30 11:39:53 -0800 2009 added ci reporter [solnic]
directory app/ Sat Nov 28 15:44:50 -0800 2009 fixed hourly rate log specs [solnic]
directory autotest/ Fri Sep 26 07:12:02 -0700 2008 generated app [ml]
file config.ru Mon Aug 31 07:54:48 -0700 2009 added rackup file, updated vlad recipe for pass... [Marcin Kulik]
directory config/ Sun Nov 22 13:05:41 -0800 2009 fixed autoupgrade task in example deploy.rb for... [sickill]
directory lib/ Sun Nov 22 12:19:57 -0800 2009 Fixed specs; however, the build is unstable - w... [solnic]
directory merb/ Wed Apr 22 10:32:31 -0700 2009 added authentication strategy for external API ... [sickill]
directory public/ Thu Oct 29 03:09:29 -0700 2009 changed datepicker settings to show Monday as 1... [psionides]
directory slices/ Wed Mar 25 04:13:21 -0700 2009 fixed password field [solnic]
directory spec/ Mon Nov 30 12:43:07 -0800 2009 changed rcov_stats to standard rcov; tweaked sp... [solnic]
README.textile

Rubytime

Rubytime is a time tracking and invoicing system written in Merb. It is complete rewrite of Rubytime 2.4 which was formerly Rails application.

Changes

  • See CHANGELOG.txt

Setup

Prerequisites

You need to have Ruby version 1.8.6 or 1.8.7 and Rubygems 1.3 installed on your server. If you don’t have Rubygems installed get it at http://www.rubygems.org.

Get the source

Next get the source code from Rubytime github repository:

git clone git://github.com/LunarLogicPolska/rubytime.git

Install gems

  • make sure that Github is in your gem sources: gem sources -a http://gems.github.com
  • install gems: html5, chronic, bartes-rcov_stats, jscruggs-metric_fu (any version)
  • install datamapper gems: sudo gem install datamapper -v 0.9.11
  • install merb gems: sudo gem install merb -v 1.0.11
    • if this fails because of merb-slices, then install the version it asks for, e.g. sudo gem install merb-slices -v 1.0.12 and try again
  • install addressable 2.0.2, dm-constraints 0.9.9, icalendar 1.1.0
  • install do_mysql 0.9.11
    • you may have to add some options to make sure it’s compiled for proper architecture and that it finds mysql headers (e.g. on Mac try: sudo env ARCHFLAGS='-arch x86_64' gem install do_mysql -v 0.9.11 -- --with-mysql-config=/usr/local/mysql/bin/mysql_config to install a version for 64-bit architecture (10.5/10.6) and for MySQL in /usr/local/mysql (installed from DMG))
  • make sure that data_objects gem is installed only in version 0.9.11
  • if anything other fails, merb -v should help you figure out what’s wrong

Configure

Enter application directory:

cd rubytime

Then:

  • copy config/database.yml.example to config/database.yml, then edit it to match your database configuration
  • copy config/local_config.rb.example to config/local_config.rb, then set application domain and mailer “From” address
  • run MERB_ENV=production rake db:automigrate to create database structure
  • run MERB_ENV=production rake rubytime:kickstart to populate database tables with initial data (admin account, example clients and projects)

Run

Run the application:

merb

Point your browser to url set in config/local/config.rb and login as admin with password password

Contact & information

www.rubytime.org

www.lunarlogicpolska.com