Skip to content

mysociety/handlingar-theme

 
 

Repository files navigation

Handlingar Theme

Create pull request from alavetelitheme master branch to our dev branch.

Then do your suggested changes and pushed into dev branch.

Test these changes on the development server.

If everything from dev branch works correctly on development server we then do a Pull Request (PR) to main branch.

Then we push main branch to production server.

Deploy updates on development server or production server

Use the following instructions to deploy changes that have been made. See this link from Handlingar Wiki.

Read more about project work order at: Handlingar Wiki

This theme is based on Alavetelitheme example theme. Read more below.

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

Releases

No releases published

Packages

No packages published

Languages

  • HTML 87.0%
  • SCSS 8.9%
  • Ruby 3.7%
  • Makefile 0.4%