Browse Source

Update README.md

yulai.li 7 years ago
parent
commit
50d754a56c
2 changed files with 9 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 8 0
      README.md

+ 1 - 0
.gitignore

@@ -1,5 +1,6 @@
 i*.swp
 build/*
+dist/*
 *.pyc
 .DS_Store
 **/.DS_Store

+ 8 - 0
README.md

@@ -8,12 +8,20 @@ For now this package is tested in python 2.7 and django 1.8.x
 
 ### Install Package
 
+clone and install
+
 ```
 # git clone https://github.com/blacktear23/django_tidb.git
 # cd tidb_django
 # python setup.py install
 ```
 
+install from pip
+
+```
+pip install django_tidb
+```
+
 ### Update settings.py
 
 ```python