Command line of the website.

Overview

Deutsch   English   Svenska

Command 0.8.42

Command line of the website.

Screenshot

How to use the command line

Open a terminal window. Go to your installation folder, where the file yellow.php is. Type php yellow.php to show available commands. The available commands depend on extensions installed. Type php yellow.php about to show the installed extensions and version numbers. If you don't have PHP on your computer, see PHP installation.

How to build a static website

You can build a static website at the command line. The biggest difference between a static website and a normal website is that a static site generator builds everything in advance, instead of waiting for a file to be requested. Open a terminal window. Go to your installation folder, where the file yellow.php is. Type php yellow.php build, you can optionally add a folder and a location. This will build a static website in the public folder. Upload the static website to your web server and build a new one when needed. To check for broken links type: php yellow.php check. To clean the static website type: php yellow.php clean.

If you don't want that a page is built, set Build: exclude in the page settings at the top of a page.

How to build a static cache

You can build a static cache at the command line. The static cache supports a normal website by building some files in advance and storing them in the file system. You can also think of it as combining the features of a static website and the features of a normal website. Open a terminal window. Go to your installation folder, where the file yellow.php is. Type php yellow.php build system/cache. This will build a cache in the system/cache folder. Build a new cache when needed. To clean the cache type: php yellow.php clean system/cache.

If you don't want that a page is built, set Build: exclude in the page settings at the top of a page.

Examples

Content file with option for building a static website:

---
Title: Example page
Build: exclude
---
This page is not included in a static website and cache.

Overview of available commands:

php yellow.php about = Show current version, requires update extension
php yellow.php build = Build static website, requires command extension
php yellow.php check = Check static website, requires command extension
php yellow.php clean = Clean static website, requires command extension
php yellow.php install = Add extensions, requires update extension
php yellow.php publish = Publish extensions, requires publish extension
php yellow.php serve = Start built-in web server, requires serve extension
php yellow.php traffic = Create traffic analytics, requires traffic extension
php yellow.php uninstall = Remove extensions, requires update extension
php yellow.php update = Update website, requires update extension
php yellow.php user = Create user accounts, requires edit extension

Showing available commands at the command line:

php yellow.php

Building static website at the command line:

php yellow.php build

Checking static website for broken links at the command line:

php yellow.php check

Cleaning static website and other files at the command line:

php yellow.php clean

Settings

The following settings can be configured in file system/extensions/yellow-system.ini:

CoreStaticUrl = URL of the website, when used as a static site generator
CommandStaticBuildDirectory = directory for statically generated files
CommandStaticDefaultFile = default file for static website
CommandStaticErrorFile = error file for static website

Installation

Download extension and copy zip file into your system/extensions folder. Right click if you use Safari.

Developer

Anna Svensson. Get help.

You might also like...
Biblioteca para busca (on-line) de estados e os seus respectivos municípios via API disponibilizada pelo IBGE.
Biblioteca para busca (on-line) de estados e os seus respectivos municípios via API disponibilizada pelo IBGE.

LocalidadeX Biblioteca para busca (on-line) e listagem de estados e seus respectivos municípios, efetua a consulta via API do IBGE, disponibilizando o

      Disclaimer: The documentation of this plugin is English at the moment, but I might go for Latin later down the line, just for the fun of it.
Disclaimer: The documentation of this plugin is English at the moment, but I might go for Latin later down the line, just for the fun of it.

Quiritibus Plugin This repository is storing the custom plugin developed for the Quiritibus Latin Magazine website, currently being developed at: http

commie 2.0 is a pastebin with line commenting support.
commie 2.0 is a pastebin with line commenting support.

commie2 commie 2.0 is a pastebin script with line commenting support. This was originally forked from splitbrain/commie and further improved and expan

Command bus package for PHP

#Chief Chief is a powerful standalone command bus package for PHP 5.4+. Contents What is a command bus Installation Usage Class-based command handlers

From the team that brought you laravel-random-command comes another gem!
From the team that brought you laravel-random-command comes another gem!

💍 Why require one if you can require them all? From the team that brought you laravel-random-command comes another gem! Requiring all our packages se

Heal and Feed Command For PocketMine-MP

Description Heal and Feed Command For PocketMine-MP. If you are have a question, please make a issues Features Simple Configuration With UI Can heal a

A PocketMine-MP Unregister-Command completely different from the others on Poggit.

This Unregister-Cmd plugin is completely different from the ones you see on Poggit while that much easier and constantly in active development. Featur

Owner
Anna
Kind regards from Sweden
Anna
The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.

netz98 magerun CLI tools for Magento 2 The n98 magerun cli tools provides some handy tools to work with Magento from command line. Build Status Latest

netz98 758 Dec 28, 2022
m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b

m4b-tool m4b-tool is a is a wrapper for ffmpeg and mp4v2 to merge, split or and manipulate audiobook files with chapters. Although m4b-tool is designe

Andreas 798 Jan 8, 2023
Tango is a command-line tool for analyzing access logs 💃

Tango Tool to get insights from the server access logs Tango is a dependency-free command-line tool for analyzing access logs ?? Currently, work on th

Roman Glushko 94 Nov 22, 2022
Demo of symfony/console features to build rich command line utilities

Symfony Console Demo This project is a demonstration of symfony/console features. To run the project with Docker. With bash: docker build -t myconsole

Jérôme Tamarelle 3 Jun 16, 2022
TrovCMS command line installer.

Trov CMS Installer TrovCMS is a start kit for websites, built on Filament and Laravel. This install allows you to quickly spin up new sites to hit the

TrovCMS 12 Dec 26, 2022
🎮 A simple command line tool for installing and interacting with your leaf apps

Leaf CLI 2 A simple command line tool for creating and interacting with your leaf projects. You can do stuff like installing packages, interacting wit

Leaf Framework 7 Aug 24, 2022
Rugby schedules on the command-line

Rugby Schedule Rugby Schedule is a command-line tool that keeps you up to date with rugby tournament schedules. Install Requires PHP 8.0 or later Via

Owen Voke 0 Mar 17, 2022
A collection of command-line utilities to aid in debugging browser engines.

Browser debug utilities This project contains several scripts that make the process of debugging browser engines much easier (some special cases excep

Clay Freeman 5 May 29, 2023
Laravel Blog Package. Easiest way to add a blog to your Laravel website. A package which adds wordpress functionality to your website and is compatible with laravel 8.

Laravel Blog Have you worked with Wordpress? Developers call this package wordpress-like laravel blog. Give our package a Star to support us ⭐ ?? Inst

Binshops 279 Dec 28, 2022
The Assure Alliance support website. This website is based on Questions2Answers and is a forum for support using Biblical Tools

The Assure Alliance support website. This website is based on Questions2Answers and is a forum for support using Biblical Tools

United Bible Societies Institute for Computer Assisted Publishing 3 Jul 29, 2022