From ceec1a308c909a124e8312b1c2021c90c9f4ad41 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Fri, 7 May 2021 09:39:06 +0200 Subject: [PATCH] update readme --- .gitignore | 8 +++++--- readme.md | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ae6a57a..f8e98b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ bin/getfile.sh.cfg -profiles/ci-webgui/config.sh -profiles/ci-webgui/replace.txt -profiles/ci-webgui/tasks_config.sh +profiles/ci-webgui/* +profiles/ci-webgui-demo/* +profiles/ci-webgui-demo/replace.txt +profiles/ci-webgui-demo/tasks_config.sh +profiles/ci-webgui-demo/tasks_postinstall.sh diff --git a/readme.md b/readme.md index 2be225d..77cc4d5 100644 --- a/readme.md +++ b/readme.md @@ -100,7 +100,7 @@ To access other ressources you can user these variables: ```txt ${selfdir} application root of deployment scripts -${projectdir} project config dir i.e. [path]/profiles/myapp +${profiledir} project config dir i.e. [path]/profiles/myapp ``` For hooks you can create files with pre defined names. A hook script must have executable rights. You get a hint message if it does not exist or has no x permission. A missing hook script does not result in an error. @@ -123,7 +123,7 @@ You need to reference the template, output file and a file for replacement data. # create_config.sh template_file target_file replacements (can be multiple files) # | | | | # v v v v -"${selfdir}/bin/create_config.sh" hooks/templates/mytemplate.erb config/target.php ${projectdir}/replace.txt +"${selfdir}/bin/create_config.sh" hooks/templates/mytemplate.erb config/target.php ${profiledir}/replace.txt ``` #### Pre and post install actions -- GitLab