summaryrefslogtreecommitdiff
path: root/docs/README.md
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-10 13:34:04 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-10 13:34:04 +0100
commit5cf3abf29e3451ce2a86cfa400e36cbb53552354 (patch)
treebc0c96d1ab343aaab275dc5152388277a1233664 /docs/README.md
parent3cd32904c6b16b3992c0cdaa9997405c8c86c56d (diff)
downloadapp.sh-5cf3abf29e3451ce2a86cfa400e36cbb53552354.tar.gz
app.sh-5cf3abf29e3451ce2a86cfa400e36cbb53552354.tar.bz2
app.sh-5cf3abf29e3451ce2a86cfa400e36cbb53552354.tar.xz
app.sh-5cf3abf29e3451ce2a86cfa400e36cbb53552354.zip
o Making run_control more generic and renamed to run_app.
Diffstat (limited to 'docs/README.md')
-rw-r--r--docs/README.md39
1 files changed, 33 insertions, 6 deletions
diff --git a/docs/README.md b/docs/README.md
index d43f912..c4a83e9 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -13,11 +13,6 @@ NOTE: The bash completion is not perfect yet.
Or was it `~/.bash_profile`? hmm
-Environment
------------
-
-The following environment variables are set by default:
-
TODOs
-----
@@ -34,7 +29,8 @@ TODOs
* Concept: config. group, key and value.
* Scriptable
-* init.d support
+* init.d support - register the application under /etc/init.d on
+ installation. Should probably be a plugin.
* Support -h for all applicable methods to show the help/usage.
@@ -137,3 +133,34 @@ Applications:
scripts/
1.1/
2.0/
+
+Creating Apps
+-------------
+
+"App bundles" are basically just zip file with a specific layout. It
+has to contain at least a `root/` directory which contains your
+application. It can contain anything. The `current` symlink will point
+to this directory.
+
+The bundle can also contain a special `scripts` directory which
+contains scripts that's run durtion package operations. Only
+`postinstall` is currently supported.
+
+Zip File Tree
+=============
+
+ root/
+ bin/
+ myapp
+ etc/
+ config
+ scripts/
+ postinstall
+
+Managing Apps
+-------------
+
+Setting Environment Variables
+-----------------------------
+
+ app -n .. -i .. conf