openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

commit 431750af2084c7ee1170c978ff38f2cb8e27ded3
parent 0117ac2688a310b3378c01c4f8757d9cd2285eeb
Author: Jan Dankert <develop@jandankert.de>
Date:   Sat, 22 Aug 2020 02:38:58 +0200

Documentation is a good thing.

Diffstat:
dev-helper/README.md | 20++++++++++----------
dev-helper/update.sh | 2++
2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/dev-helper/README.md b/dev-helper/README.md @@ -2,12 +2,6 @@ These files are only necessary **for developers**! -## Generate output files - -This tool is generating output files and is fixing file permissions. - -`create-output-files.sh` - ## Creating a release tag `tag-version.sh <version>` @@ -17,8 +11,14 @@ This tool is generating output files and is fixing file permissions. - updates the file `version.php` with the snapshot version -## Watching for template modifications +## Updating UI + +`update.sh -u http://host/ -w -x <type>` + +Makes the necessary output files writable, then updates them. -`template-watcher.sh http://host/` +- `-u <url>` the current start url, where the CMS is installed. +- `-w` do not exit, **watch**es the files for modifications +- `-x <type>` where `type` is one of `tpl`,`lang`,`js`,`css`,`xsd`. -Watches for file modificatons in templates and components. If a file is saved, the template compiler is invoked via HTTP. This will save some of the developers time ;)- \ No newline at end of file +You can to the same while [invoking the update via your browser](./update.php). + \ No newline at end of file diff --git a/dev-helper/update.sh b/dev-helper/update.sh @@ -1,5 +1,7 @@ #!/bin/bash +cd "$(dirname "$0")" + # Calling the template compiler if a template or a component was modified. # # Need for: