public
Fork of ari/clockingit
Description: Project Management, Collaboration and Time Tracking. These is my modifications to the current master.
Homepage: http://www.clockingit.com/
Clone URL: git://github.com/markcatley/clockingit.git
name age message
file .boring Sat Jul 28 05:27:12 -0700 2007 [ClockingIT @ Collapse/Expand project list on O... [Fudge]
file .gitignore Loading commit data...
file LICENSE Wed Aug 26 01:01:07 -0700 2009 adding file perm changes [brad wilson]
file README Wed Jul 09 12:59:32 -0700 2008 Fix imagemagick dependency names in README [Fudge]
file README.developers Sat Nov 22 07:29:29 -0800 2008 Add rdoc to the project, along with script to e... [ari]
file Rakefile Tue Apr 15 12:04:00 -0700 2008 Try to sort out the testing mess [Fudge]
directory app/
directory config/
directory db/ Sat Jan 03 06:14:47 -0800 2009 Allow hiding of dependencies from views and browse [Fudge]
directory dump/ Mon Sep 22 00:59:51 -0700 2008 Don't export news items and cached reports [Erlend Simonsen]
directory index/ Mon Jun 16 10:42:56 -0700 2008 Make sure ferret index directory is created [Fudge]
directory lang/
directory lib/
directory public/
directory script/
file setup.rb
directory test/
directory tmp/ Mon Jun 16 10:42:37 -0700 2008 Make sure some tmp directories are created [Fudge]
directory vendor/ Wed Nov 12 07:47:53 -0800 2008 Remove will_paginate method_missing magic, to g... [Fudge]
README
== Welcome to ClockingIT v0.99.3

ClockingIT is relased under the terms of the MIT License, see LICENSE
for more information.

== Getting started

1. sudo apt-get install libmagick9-dev imagemagick ruby1.8 ruby1.8-dev rubygems ri rdoc rake

2. ruby ./setup.rb
   Follow the instructions and answer the questions.

== Support

* mailto:admin@clockingit.com
* http://wiki.clockingit.com/wiki:source
* http://forum.clockingit.com/

== Example for Apache conf

  <VirtualHost *:80>
    ServerName *.clockingit.com
    DocumentRoot /path/application/public/
    ErrorLog /path/application/log/server.log

    <Directory /path/application/public/>
      Options ExecCGI FollowSymLinks
      AllowOverride all
      Allow from all
      Order allow,deny
    </Directory>
  </VirtualHost>

== Example for Apache using mod_rewrite

This will redirect requests for http://server.my_domain.com to https://server.my_domain.com
and will proxy requests for https://server.my_domain.com to http://hostname.clockingit.com:3000 on the localhost
The end-user who is contacting server.my_domain.com does not know that the request is being proxied, because apache will 
change the "Host:" values to itself as it sends back the response. The proxy request is performed on the localhost, 
which is informed by /etc/hosts that hostname.clockingit.com points to 127.0.0.1

### Insecure VirtualHost ###
<VirtualHost *:80>
ServerAdmin root@my_domain.com
ServerName server.my_domain.com
UseCanonicalName Off
# Force clients from the Internet to use HTTPS
RewriteEngine on
RewriteRule ^/?(.*)$ https://server.my_domain.com/$1 [L,R]
</VirtualHost>

### SSL VirtualHost ###
<VirtualHost *:443>
ServerAdmin root@my_domain.com
ServerName server.my_domain.com
UseCanonicalName Off
SSLCertificateFile /home/clockingit/ssl.cert.pem
SSLCertificateKeyFile /home/clockingit/ssl.key.pem

ProxyRequests Off
<Proxy *>
Order Allow,Deny
Allow from all
</Proxy>
RewriteEngine On
RewriteRule ^/(.*)$ http://hostname.clockingit.com:3000/$1 [P,NC]
ProxyPassReverse / http://hostname.clockingit.com:3000/
</VirtualHost>

== Description of contents

app
  Holds all the code that's specific to this particular application.

app/controllers
  Holds controllers that should be named like weblog_controller.rb for
  automated URL mapping. All controllers should descend from
  ActionController::Base.

app/models
  Holds models that should be named like post.rb.
  Most models will descend from ActiveRecord::Base.

app/views
  Holds the template files for the view that should be named like
  weblog/index.rhtml for the WeblogController#index action. All views use eRuby
  syntax. This directory can also be used to keep stylesheets, images, and so on
  that can be symlinked to public.

app/helpers
  Holds view helpers that should be named like weblog_helper.rb.

app/apis
  Holds API classes for web services.

config
  Configuration files for the Rails environment, the routing map, the database, and other dependencies.

components
  Self-contained mini-applications that can bundle together controllers, models, and views.

db
  Contains the database schema in schema.rb.  db/migrate contains all
  the sequence of Migrations for your schema.

lib
  Application specific libraries. Basically, any kind of custom code that doesn't
  belong under controllers, models, or helpers. This directory is in the load path.

public
  The directory available for the web server. Contains subdirectories for images, stylesheets,
  and javascripts. Also contains the dispatchers and the default HTML files.

script
  Helper scripts for automation and generation.

test
  Unit and functional tests along with fixtures.

vendor
  External libraries that the application depends on. Also includes the plugins subdirectory.
  This directory is in the load path.