summaryrefslogtreecommitdiff
path: root/files/webapp/README.md
blob: 9c3e43416776bbeaefe4ec23710af7d5fdd5b589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Customizing LEAP Webapp
============================================

By default, this directory is empty. Any file you place here will override the default files for the application.

For example:

    stylesheets/ -- overrides files Rails.root/app/assets/stylesheets
      tail.scss -- included before all others
      head.scss -- included after all others

    public/ -- overrides files in Rails.root/public
      favicon.ico -- custom favicon
      img/ -- customary directory to put images in

    views/ -- overrides files Rails.root/app/views
      home/
        index.html.haml -- this file is what shows up on the home page

    locales/ -- overrides files in Rails.root/config/locales
      en.yml -- overrides for English
      de.yml -- overrides for German
      and so on...

For most changes, the web application must be restarted after any changes are made to the customization directory.

Sometimes a `rake tmp:clear` and a rails restart is required to pick up a new stylesheet.