Permalink
Browse files

modify readme.md to markdown format

  • Loading branch information...
1 parent 84fbfbf commit 5e4b132e232ebe4607ddf37bea75154e8513b4fd @huanghao committed Jun 15, 2012
Showing with 38 additions and 33 deletions.
  1. +38 −33 README.md
View
71 README.md
@@ -1,48 +1,53 @@
自动发布工具
+============
-=====================================
Features:
- 1) 项目版本发布, 支持svn/git
- 2) 服务器信息管理
+------------
+ * 项目版本发布, 支持svn/git
+ * 服务器信息管理
-=====================================
-How To Use:
-1) show all tasks it support
-$ fab --list
+How To Use:
+------------
+ * show all tasks it support
-2) query host/ip information and save to db
-$ fab -H host1,host2,... hostinfo
+`$ fab --list`
-3) the "proj" task
-this task is responsible for loading project environment variables into myenv,
-the most important var is myenv.hosts, so you can use the following command
-to query hostinfo of all servers related to the "dummy" project
-$ fab proj:dummy hostinfo
+ * query host/ip information and save to db
-4) setup some project named "dummy-project"
-$ fab proj:dummy setup
+`$ fab -H host1,host2,... hostinfo`
+
+ * the "proj" task: this task is responsible for loading project environment variables into myenv, the most important var is myenv.hosts, so you can use the following command to query hostinfo of all servers related to the "dummy" project
+
+`$ fab proj:dummy hostinfo`
+
+ * setup some project named "dummy-project"
+
+`$ fab proj:dummy setup`
or you can combine setup and deploy together
-$ fab proj:dummy setup:v1.0
-5) deploy
-$ fab proj:dummy deploy:v1.1
+`$ fab proj:dummy setup:v1.0`
-6) ideploy: only deploy the difference
-$ fab proj:dummy ideploy:v1.2
+ * deploy
-7) check version/revision consistency
-$ fab proj:dummy check
+`$ fab proj:dummy deploy:v1.1`
-=====================================
-Required:
- Python 2.6+
- Django 1.3.1+
- Fabric 1.3.3+
+ * ideploy: only deploy the difference
-=====================================
-Platforms it had been tested on:
- FreeBSD8.2
- FreeBSD9.0
+`$ fab proj:dummy ideploy:v1.2`
-=====================================
+ * check version/revision consistency
+
+`$ fab proj:dummy check`
+
+
+Required:
+------------
+* Python 2.6+
+* Django 1.3.1+
+* Fabric 1.3.3+
+
+Platforms it had been tested on:
+------------
+* FreeBSD8.2
+* FreeBSD9.0

0 comments on commit 5e4b132

Please sign in to comment.