Update README
authorLiuChengTao <liuchengtao1982@gmail.com>
Wed, 26 Mar 2014 03:34:43 +0000 (11:34 +0800)
committerLiuChengTao <liuchengtao1982@gmail.com>
Wed, 26 Mar 2014 03:34:43 +0000 (11:34 +0800)
add debian and uninstall description

README

diff --git a/README b/README
index b82cff0f18247bfd5095b23e6352d42186254fc7..6f354b11cb14b08e3ebbb0151e21f5881024cff7 100644 (file)
--- a/README
+++ b/README
@@ -5,15 +5,26 @@ python2.7 python-pip requests
        sudo apt-get install python-pip
        sudo pip install requests
 
-How to build:
+How to build debian package:
 =================
-    Build from source code: 
-        sudo python setup.py build
+    Build from source code, get the debian package in folder ../
+        dpkg-buildpackage
 
 How to install:
 =================
-    Install testkit lite  from source code: 
-        sudo python setup.py install
+    Install testkit lite from source code: 
+        sudo python setup.py install --record /var/log/testkit-lite.files
+
+    Install testkit lite from debian build: 
+        sudo dpkg -i ../testkit-lite_<version>_all.deb
+
+How to install:
+=================
+    Uninstall testkit-lite installed with 'setup.py install':
+        cat /var/log/testkit-lite.files | sudo xargs rm -rf
+
+    Uninstall testkit-lite installed with 'debian': 
+        sudo dpkg -i ../testkit-lite_<version>_all.deb
 
 How to use:
 =================