logologo
HomeGallery
  • Why?
  • Docs
  • Demo
  • Download
    Start
    Install
    General
    docker-compose
    docker
    Binary
    App Bundle
    Generic Bundle
    Source
    Azure
    Configuration
    CLI
    help
    run
    export meta
    export static
    fetch
    database
    storage
    plugin
    cast
    Webapp
    Search
    FAQ
    API server
    Recipes
    Use Nginx proxy with subpath
    Use Traefik proxy with subpath
    Use IIS Proxy With a Sub-Path
    Internals
    Workflow
    Building Blocks
    Data Structures
    Design Decisions
    Development
    Plugin
    Extractor Plugin
    Database Mapper Plugin
    Query Plugin
    Previous pageexport metaNext pagefetch

    #export static command

    The export meta command

    • Exports a static gallery
    • Requires only static webserver like nginx or Apache
    • Supports subset exports via query
    gallery.js export static
    
    Create a static website export
    
    Options:
          --version              Show version number                       [boolean]
          --full-version         Show full build version                   [boolean]
      -l, --log-level            Console log level
             [string] [choices: "trace", "debug", "info", "warn", "error", "silent"]
      -J, --log-json-format      Log output format in json                 [boolean]
      -L, --log-file             Log file
          --log-file-level       Log file level
      [string] [choices: "trace", "debug", "info", "warn", "error"] [default: "debug
                                                                                  "]
      -c, --config               Configuration file
          --auto-config          Search for configuration on common configuration di
                                 rectories                 [boolean] [default: true]
      -d, --database             Database filename                        [required]
      -e, --events               Events filename
      -s, --storage              Storage directory                        [required]
      -o, --output               Output directory of export
      -f, --file                 Archive filename of export. Must end with .zip or .
                                 tar.gz                                     [string]
      -k, --keep                 Keep outputdirectory on archives          [boolean]
      -q, --query                Search query for matching entries          [string]
      -b, --base-path, --prefix  Base path of static page. e.g. "/gallery"
                                                             [string] [default: "/"]
          --edit                 Enable edit menu         [boolean] [default: false]
      -h, --help                 Show help                                 [boolean]
          --level                                                   [default: debug]