diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-09-24 08:58:20 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-09-24 08:58:20 +0100 |
commit | eeaa91fecfb4a2253bf9c294bc8907dbe595dafb (patch) | |
tree | d1e6fca7849d4930c643dba88d79e54cda89a32b | |
parent | bef00d40a838bd504751162b1fd6d61d3058859c (diff) | |
parent | 076121e3603c7c457f320e027322be5f67992e52 (diff) |
Merge branch 'update-installation-instructions' into develop
-rw-r--r-- | README.md | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -6,21 +6,18 @@ This is a "hello world" type theme package for Alaveteli. The intention is to support simple overlaying of templates and resources without the need to touch the core Alaveteli software. -Typical usage should be limited to: +Typical usage should be limited to that described in the [documentation](http://alaveteli.org/docs/customising/themes/): - * Putting CSS-based customisations in `public/stylesheets/custom.css` - * Creating your own versions of non-functional pages (like "about - us", at `lib/views/help/about.rhtml` -- and/or localised versions at - lib/views/help/about.es.rhtml) +## To install: -To install:: +In the Alaveteli `general.yml` configuration file change the default mysociety theme repository to your theme repository in the [`THEME_URLS`](http://alaveteli.org/docs/customising/config/#theme_urls) setting: - ./script/plugin install git://github.com/mysociety/alavetelitheme.git + THEME_URLS: + - 'git://github.com/YOUR_GITHUB_USERNAME/YOUR_THEME_NAME.git' -Look in the lib/ folder of the plugin to see how the overrides happen. +You can then switch the theme the application is using: -Note that the `install.rb` plugin point sets up a symlink to include -local resource files within the Rails `public/` directory. + bundle exec rake themes:install Copyright (c) 2011 mySociety, released under the MIT license |