LunarLogicPolska / rubytime
- Source
- Commits
- Network (8)
- Issues (0)
- Downloads (2)
- Wiki (2)
- Graphs
-
Branch:
master
rubytime /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Nov 30 13:44:06 -0800 2009 | |
| |
CHANGELOG-API.txt | Mon Nov 16 01:14:23 -0800 2009 | |
| |
CHANGELOG.txt | Mon Aug 31 07:54:39 -0700 2009 | |
| |
Gemfile | Mon Nov 30 12:43:07 -0800 2009 | |
| |
README.textile | Mon Oct 26 09:57:47 -0700 2009 | |
| |
Rakefile | Mon Nov 30 11:39:53 -0800 2009 | |
| |
app/ | Sat Nov 28 15:44:50 -0800 2009 | |
| |
autotest/ | Fri Sep 26 07:12:02 -0700 2008 | |
| |
config.ru | Mon Aug 31 07:54:48 -0700 2009 | |
| |
config/ | Sun Nov 22 13:05:41 -0800 2009 | |
| |
lib/ | Sun Nov 22 12:19:57 -0800 2009 | |
| |
merb/ | Wed Apr 22 10:32:31 -0700 2009 | |
| |
public/ | Thu Oct 29 03:09:29 -0700 2009 | |
| |
slices/ | Wed Mar 25 04:13:21 -0700 2009 | |
| |
spec/ | Mon Nov 30 12:43:07 -0800 2009 |
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.gitInstall 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.12and try again
- if this fails because of merb-slices, then install the version it asks for, e.g.
- 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_configto install a version for 64-bit architecture (10.5/10.6) and for MySQL in /usr/local/mysql (installed from DMG))
- 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:
- make sure that
data_objectsgem is installed only in version0.9.11 - if anything other fails,
merb -vshould help you figure out what’s wrong
Configure
Enter application directory:
cd rubytimeThen:
- 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:automigrateto create database structure - run
MERB_ENV=production rake rubytime:kickstartto populate database tables with initial data (admin account, example clients and projects)
Run
Run the application:
merbPoint your browser to url set in config/local/config.rb and login as admin with password password
