changeset 61:59bbfa7e67bb

make an actual working install script
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 11 Jan 2011 08:26:30 -0800
parents 33fd34a75990
children 2a5fa6876e48
files INSTALL.sh
diffstat 1 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/INSTALL.sh	Mon Jan 10 22:41:26 2011 -0800
+++ b/INSTALL.sh	Tue Jan 11 08:26:30 2011 -0800
@@ -1,5 +1,20 @@
-virtualenv.py autobot
+# installation script for autobot, the A*Team buildbot
+
+REPO='http://k0s.org/mozilla/hg/autobot'
+DEST='autobot' # name of the virtualenv
+
+if [ "$#" != "0" ]
+then
+    DEST=$1
+fi
+
+virtualenv ${DEST}
 cd autobot
 . bin/activate # linux only
 mkdir src
 cd src
+hg clone ${REPO}
+cd autobot
+python setup.py develop
+
+# now you can run `create-autobot` to get a testing bot!
\ No newline at end of file