Skip to content
Snippets Groups Projects
README.md 561 B
Newer Older
  • Learn to ignore specific revisions
  • tusooa's avatar
    tusooa committed
    # Website for BTIC
    
    tusooa's avatar
    tusooa committed
    
    
    tusooa's avatar
    tusooa committed
    Use `corepack yarn` to install dependencies. `corepack yarn dev` to run the dev server. `corepack yarn build` to build. Pass the environment variable `ENABLE_NONFREE=1` to enable to non-free assets (fonts).
    
    tusooa's avatar
    tusooa committed
    
    # Contributing
    
    ## Adding cases
    
    Write in `/src/sources/cases.yaml`.
    
    ## Adding case types
    
    In `/src/l10n/[lang].ftl`, add `case-type-[type-id] = [Type name]`. Replace `[type-id]` with an identifier and `[Type name]` with the name. The identifier will be used in `/src/sources/cases.yaml`. The name will be displayed on the website.