senorprogrammer / mephisto forked from emk/mephisto

User-friendly blogging with multisite support and asset managment. This is a fork of emk's mephisto - I highly recommend grabbing that one instead; this is just to fix some issues I want fixed.

This URL has Read+Write access

mephisto / README
100644 33 lines (21 sloc) 1.001 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
= Installation
 
See public/install.html for setup instructions.
 
= Timezones
 
You MUST export the environment variable TZ=UTC, or else the article dates
and times will be invalid.
 
This would not be needed if rails used UTC for everything, but
unfortunately it doesn't... eg: action_view/helpers/date_helper.rb uses
Time::now instead of Timer::now.utc, and Time::mktime instead of
Time::utc.
 
XXX oh, we can't depend on the rails helpers at all, because they don't
    translate the time from UTC (assuming the TZ env var is correctly
    set) to site time, you've to roll our own, or monkey patch rails :/
 
= Dependencies
 
Note that Mephisto depends on fewer gems when RAILS_ENV=production than it
does in a development environment.
 
Run 'rake gems:install' to install the development gems. In a production
environment, run:
 
  RAILS_ENV=production rake gems:install
 
= License
 
Mephisto is distributed under the same license as Ruby on Rails. See
http://www.opensource.org/licenses/mit-license.php