aboutsummaryrefslogtreecommitdiffstats
path: root/script/switch-theme.rb
Commit message (Collapse)AuthorAgeLines
* Merge branch 'feature/switch-theme-none-option' into rails-3-developMark Longair2013-12-05-8/+17
|\ | | | | | | | | Conflicts: script/switch-theme.rb
| * Update the switch-theme.rb script allow switching to no themeMark Longair2013-11-25-8/+17
| |
* | Move themes from vendor/plugins to lib/themesMark Longair2013-12-03-1/+1
| | | | | | | | | | | | | | | | | | | | These are essentially required in exactly the same way as before, but from lib/themes rather than vendor/plugins. This is the simplest possible change in order make the themes work outside vendor/plugins, I think, but it's not necessarily ideal. It would be worth considering whether these should be changed to Rails engines, as described here: http://guides.rubyonrails.org/engines.html
* | With Rails 3.2, switching theme requires asset recompilationMark Longair2013-11-29-1/+5
|/
* Add a script to help switch theme for local developmentMark Longair2013-10-30-0/+120
When working locally, it's useful to be able to switch between themes quickly, which essentially involves: - Updating the general.yml symlink to point to a theme-specific one - Updating the public/alavetelitheme symlink - Making sure that the theme exists as vendor/plugins/<theme-name> This script lets you switch between themes kept in a directory which is by default called 'alaveteli-themes' at the same level as your Alaveteli git repository, or can be overriden by the environment variable ALAVETELI_THEMES_DIR.