Giter VIP home page Giter VIP logo

clockingit-in-capelladesign's Introduction

== 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:[email protected]
* 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.