diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-11-26 10:53:24 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-11-26 10:53:24 +0100 |
| commit | 21a6bf7178237eeccc2f95bd8dc9e78911f109f3 (patch) | |
| tree | 9e23a1eaeaae5c925a35e7b6461502d894a36cbf /README.md | |
| parent | b0a9f7cdd8734b7a537e18d381fd744cc0664c42 (diff) | |
| download | kazbek-21a6bf7178237eeccc2f95bd8dc9e78911f109f3.tar.gz | |
Document the current state of locopy
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -13,7 +13,8 @@ The repository contains a collection of random scripts and short programs. 3. [cross\_toolchain.rb](#cross_toolchainrb) 4. [rename.rb](#renamerb) 5. [pg\_jekyll.rb](#pg_jekyllrb) -6. [tea-cleaner](#tea-cleaner) +6. [locopy](#locopy) +7. [tea-cleaner](#tea-cleaner) ## 7digital.rb @@ -66,6 +67,21 @@ environment variables `USER` and `DBNAME` to be present in the environment. Pages are written into the `posts/` directory. A column named `slug` is used for the name with `.html` extension. +## locopy + +locopy updates Wordpress `siteurl` and `home` options and sets them to +http://localhost:8083, so that the Wordpress instance can run locally. + +locopy reads Wordpress database configuration from the `wp-config.php` that +it should be able to find. Invokation example: + +```sh +./locopy/locopy.rb wordpress --root /path/to/wordpress --dump= +``` + +The `--dump` option isn't currently used but should be present on the command +line. + ## tea-cleaner `tea-cleaner` tries to detect spam accounts on a gitea instance and can remove |
