Configuration

  1. Configuration
    1. Config file
    2. Templates
    3. Optional functionality

1 Configuration

Draft

1.1 Config file

Ōlelo reads the files config/config.yml.default and config/config.yml in that order. So just copy the default configuration config/config.yml.default to config/config.yml and make your modifications. If you installed Ōlelo as gem this is not a good idea since you don't want to fiddle in the gem directory. For this purpose the environment variable $OLELO_CONFIG exists which can point to the configuration file that you want to use.

export OLELO_CONFIG=/home/olelo/olelo_config.yml

You can also use the $OLELO_CONFIG environment variable if you want to run multiple Ōlelo instances with different configurations, for example to serve different pages from different repositories.

1.2 Templates

1.3 Optional functionality