From 83c13f1181c4062ca5296ea956e950064bde0ffe Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 18 Oct 2012 13:38:58 +0200 Subject: o Making all scripts be run from the root/ directory. Do not assume you're in current/. --- docs/README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/README.md b/docs/README.md index 4649ce3..9ae11fa 100644 --- a/docs/README.md +++ b/docs/README.md @@ -41,6 +41,9 @@ TODOs * Rename "scripts/" to handlers or something similar. Perhaps just remove it entirely. +* Document how the operate method (custom pid-method stuff) can see + its own output for debugging. + Commands -------- @@ -104,7 +107,7 @@ Method Contract Unclassified: * `APPSH_HOME` -* `BASEDIR` +* `APPSH_APPS` Directory Hierarchy ------------------- @@ -113,7 +116,7 @@ Directory Hierarchy App.sh is installed through cloning the git repository and/or unpacking a tarball from the git repository. The directory that -contains app is known as $APPSH_HOME +contains the app.sh libraries is known as `$APPSH_HOME`. App.sh related: @@ -125,11 +128,10 @@ App.sh related: Applications: ./// - Known as $APPSH_INSTANCE_HOME - current - symlink to the currently installed app + current -> - symlink to the currently installed app versions/ - collection with all installed versions 1.0/ - A installed version. The zip file is unzipped here. - The current directory for scripts executing from scripts/ - root/ + root/ - The current directory when executing methods and scripts scripts/ 1.1/ 2.0/ -- cgit v1.2.3