### Command line installer arguments table Source: https://docs.thirtybees.com/installation/command-line Available command line arguments for the installer with their default values. Use these to customize the installation. ```text --step all / database,fixtures,theme,modules,addons_modules (Default: all) --language language iso code (Default: en) --allLanguages install all available languages (Default: 0) --timezone (Default: Europe/Paris) --base_uri (Default: /) --domain (Default: localhost) --db_server (Default: localhost) --db_user (Default: root) --db_password (Default: ) --db_name (Default: thirtybees) --db_clear Drop existing tables (Default: 1) --db_create Create the database if not exist (Default: 0) --prefix (Default: tb_) --engine InnoDB (Default: InnoDB) --name (Default: thirty bees) --activity (Default: 0) --country (Default: fr) --firstname (Default: John) --lastname (Default: Doe) --password (Default: 0123456789) --email (Default: pub@thirtybees.com) --license show thirty bees license (Default: 0) --newsletter get news from thirty bees (Default: 1) --send_email send an email to the administrator after installation (Default: 1) ``` -------------------------------- ### Example configuration.yml file Source: https://docs.thirtybees.com/store/free-modules Complete example of a configuration.yml file for a free module, showing all required fields. ```yaml module_name: Authorize.net compatible_versions: 1.0.0+ author: thirty bees category: payment localization: - US - CA tags: - authorize - auth.net - authortize.net - payment module description_short: The thirty bees Authorize.net module allows your site to accept payments using the Authorize.net payment gateway. description: description.md images: - image-1.png - image-2.png license: AFL php_version: - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 ``` -------------------------------- ### Run thirty bees command line installer Source: https://docs.thirtybees.com/installation/command-line Runs the installation via command line using the index_cli.php script. Customize installation by passing arguments listed below. ```php php /install-dev/index_cli.php ``` -------------------------------- ### Install PHP dependencies with Composer Source: https://docs.thirtybees.com/installation/command-line Run after cloning the repository and changing into the ThirtyBees directory. Installs the required dependencies. ```shell composer install ``` -------------------------------- ### Frontmatter example Source: https://docs.thirtybees.com/authoring/pages Frontmatter must be included at the top of each page. It contains metadata such as title, tags, keywords, last_updated, and summary. ```yaml --- title: Your page title tags: [formatting, getting_started] keywords: overview, going live, high-level last_updated: November 30, 2015 summary: "Deploying DeviceInsight requires the following steps." --- ``` -------------------------------- ### Unless operator example Source: https://docs.thirtybees.com/authoring/conditional-logic Demonstrates the unless operator, which runs the code unless the condition is satisfied. If site.print == true, the code will not run. ```liquid {% unless site.output == "pdf" %} ... {% endunless %} ``` -------------------------------- ### Create a collection in configuration file Source: https://docs.thirtybees.com/authoring/collections Add this YAML block to your configuration file to define a collection named 'tooltips'. The 'output: true' setting makes the collection's pages available for looping. ```yaml collections: tooltips: output: true ``` -------------------------------- ### Or operator example Source: https://docs.thirtybees.com/authoring/conditional-logic Example using the 'or' operator in Liquid to check if the audience contains 'vegan' or equals 'vegetarian'. ```liquid {% if site.audience contains "vegan" or site.audience == "vegetarian" %} // run this. {% endif %} ```