mysociety / alavetelitheme

An example theme for alaveteli

Home Page:http://alaveteli.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alavetelitheme

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 that described in the documentation:

To install:

In the Alaveteli general.yml configuration file change the default mysociety theme repository to your theme repository in the THEME_URLS setting:

THEME_URLS:
  - 'git://github.com/YOUR_GITHUB_USERNAME/YOUR_THEME_NAME.git'

You can then switch the theme the application is using:

bundle exec rake themes:install

To run tests:

To run tests, in the Alaveteli Rails.root (with this theme installed):

    bundle exec rspec lib/themes/alavetelitheme/spec

Copyright (c) 2011 mySociety, released under the MIT license

About

An example theme for alaveteli

http://alaveteli.org

License:MIT License


Languages

Language:HTML 65.7%Language:SCSS 25.6%Language:Ruby 8.7%