diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-11-28 14:41:46 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-11-28 14:41:46 -0300 |
commit | 02ce31685d3ef2579a3eddd153caf41e3e64fb18 (patch) | |
tree | da4a99211e02399013fb3f481809262ef4958559 | |
parent | 46b1be8f609e72baef4fd61d50663cc559eaab9a (diff) | |
parent | 0a13ee30ca1619c6fe584157c9ebf5dfed8c2fb7 (diff) | |
download | askbot-02ce31685d3ef2579a3eddd153caf41e3e64fb18.tar.gz askbot-02ce31685d3ef2579a3eddd153caf41e3e64fb18.tar.bz2 askbot-02ce31685d3ef2579a3eddd153caf41e3e64fb18.zip |
Merge branch 'master' of github.com:ASKBOT/askbot-devel
-rw-r--r-- | askbot/doc/source/customizing-skin-in-askbot.rst | 4 | ||||
-rw-r--r-- | askbot/doc/source/customizing-style-css-file-in-askbot.rst | 28 | ||||
-rw-r--r-- | askbot/startup_procedures.py | 2 |
3 files changed, 33 insertions, 1 deletions
diff --git a/askbot/doc/source/customizing-skin-in-askbot.rst b/askbot/doc/source/customizing-skin-in-askbot.rst index 92680e52..09ea0dbb 100644 --- a/askbot/doc/source/customizing-skin-in-askbot.rst +++ b/askbot/doc/source/customizing-skin-in-askbot.rst @@ -117,6 +117,10 @@ then it is not very convinient to tweak the skin, as the file path may be long and files may be writable only by from the root account. +**IMPORTANT:** Do not edit file style.css manually, instead edit the +source style.less, written in the `lesscss <http://lesscss.org>`_ format. +See also: :ref:`customizing-style-css-file-in-askbot`. + Create a custom skin in a new directory --------------------------------------- This is technically possible, but not advisable diff --git a/askbot/doc/source/customizing-style-css-file-in-askbot.rst b/askbot/doc/source/customizing-style-css-file-in-askbot.rst new file mode 100644 index 00000000..2c2d0327 --- /dev/null +++ b/askbot/doc/source/customizing-style-css-file-in-askbot.rst @@ -0,0 +1,28 @@ +.. _customizing-style-css-file-in-askbot: + +==================================== +Customizing style.css file in Askbot +==================================== + +File style.css is produced by the `lesscss compiler <http://lesscss.org>`_ - ``lessc``. + +Please read documentation about the lesscss format. + +Compiling lesscss files +======================= + +The following command will compile the lesscss source file, +an option -x will produce compressed css file: + + lessc file.lesscss -x > file.css + +Installing lesscss +================== + +Make sure you have recent version of `node.js <http://nodejs.org>`_ - latest version preferred. +More recent versions of node come with the tool called `npm <http://npmjs.org>`_, +for earlier versions ``npm`` will need to be installed manually. + +To install lesscss, type: + + sudo npm install less diff --git a/askbot/startup_procedures.py b/askbot/startup_procedures.py index 7ca06e1b..5e2f7da0 100644 --- a/askbot/startup_procedures.py +++ b/askbot/startup_procedures.py @@ -258,7 +258,7 @@ def run_startup_tests(): test_encoding() test_modules() test_askbot_url() - test_postgres() + #test_postgres() test_middleware() test_celery() settings_tester = SettingsTester({ |