Hadron Logo

Development Environment | Skeleton

On this page you'll find information for setting up an optimal development environment for the Hadron Skeleton.

Expert Development Environment Skeleton

Important

These docs are compatible only with Hadron v3, using Grav v2 & Quark2, as there are significant changes in structure and functionality.

You can find the Hadron v2 Documentation either on the Wayback Machine or on the GitHub Repository.

Tip

Also check out our setup guide: Docs / Skeleton / Setup

Local overrides

Create a file at /user/env/localhost/config/system.yaml to override the default user/config/system.yaml for configuration in the development environment:

force_ssl: false      # If the development site doesn't use SSL
cache:
    enabled: false    # Disable cache for development
    check:
        method: file  # Allow updating pages without clearing cache
images:
    cache_all: false  # Disable image cache for development
twig:
    cache: false      # Disable twig cache for development
    debug: true       # We want to display debug messages
    auto_reload: true # We may be editing twig files
errors:
    display: 1        # Display full backtrace if there are errors
debugger:
    enabled: true     # Debugger is handy to have
    censored: false   # We may want to see secure content in debugger
session:
    secure: false     # If the development site doesn't use SSL
    httponly: false   # If the development site doesn't use SSL
assets:               # Disable pipelines to get all assets separately
    css_pipeline: false
    js_pipeline: false
    js_module_pipeline: false

strict_mode: # These settings help you to keep your site updated to use the latest standards
    yaml_compat: false
    twig_compat: false
    blueprint_compat: false