]> git.mdlowis.com Git - archive/bci.git/commitdiff
add some usage info
authorAndrew Bellenir <andrew@bellenir.com>
Sat, 3 Mar 2012 22:51:08 +0000 (17:51 -0500)
committerAndrew Bellenir <andrew@bellenir.com>
Sat, 3 Mar 2012 22:51:08 +0000 (17:51 -0500)
usage.txt [new file with mode: 0644]

diff --git a/usage.txt b/usage.txt
new file mode 100644 (file)
index 0000000..d52ddc1
--- /dev/null
+++ b/usage.txt
@@ -0,0 +1,39 @@
+Usage information for bci
+
+BCI will be used to build projects as they are committed in git
+
+commands:
+       bci proj add <name> /path/to/home/for/proj
+               create a bci project named <name> that will live in /path/to/home/for/proj
+       bci proj -d <name>
+               delete the project named <name>
+       bci proj config <name> <prop-name> <prop-value>
+               set config option for a bci project named <name>
+
+
+installation:
+       set up a place for bci to store it's stuff
+       config options, and default location for project homes
+               BCI_HOME="$HOME/.bci"
+               mkdir -p "$BCI_HOME"
+
+project organization:
+       when you create a project, it must have the following:
+               a location to git clone from (required)
+               a project name (optional)
+                       derrivable from the git clone location
+               a project home (optional) ($PROJ_HOME)
+                       by default PROJ_HOME will be $BCI_HOME/projects/<project_name>
+       $PROJ_HOME will contain three directories:
+               $PROJ_HOME/config:
+                       this is where all configuration options for bci_proj will live for this specific project
+                       including file rotation config options for data (how many builds to keep)
+               $PROJ_HOME/repo:
+                       this is where the project itself is checked out. when the project is first created,
+                       specify a remote location to git clone from
+                       run git clone <remote> $PROJ_HOME/repo
+               $PROJ_HOME/data:
+                       this is where bci will store data relate to previous builds of the project
+                       this includes error logs, build information, test outputs, etc.
+
+