Skip to content
xiazek edited this page Sep 13, 2010 · 4 revisions

Prerequisites

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

To install Merb stack:

sudo gem install merb

You also need html5 and do_mysql gems:

sudo gem install do_mysql html5

Get the source

Next get the source code from Rubytime github repository:

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

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 rake db:automigrate to create database structure
  • run 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 asdf1234

Contact & information

www.rubytime.org

www.lunarlogicpolska.com

Clone this wiki locally