Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 883 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 883 Bytes

Tekst Maintenance Utility Script

This Bash script simplifies performing common maintenance tasks (backup/restore database, recreate search index, ...).

Usage

IMPORTANT: The script assumes it's located inside /<path-to-Tekst-repo>/Tekst-Util/, so do not move it anywhere else!!

Run ./tekst-util --help for an overview of the commands, flags and arguments. Each command has its own help that can be accessed via ./tekst-util <command> --help.

Development

This utility script has been created using Bashly. To easily run Bashly commands via the Bashly Docker image, just create this alias:

alias bashly='docker run --rm -it --user $(id -u):$(id -g) --volume "$PWD:/app" dannyben/bashly'

See the Bashly documentation for how to use this (it's not hard at all).