Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 560 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 560 Bytes

diango-blog

a blog app use python3.7 && django2.1

安装virtualenv

$ pip install virtualenv

创建虚拟环境

$ virtualenv -p /usr/local/Cellar/python/3.7.0/bin/python3.7 ENV3.7

激活虚拟环境

$ source /Users/ys/python-virtualenv/ENV3.7/bin/activate

查看当前环境下的安装包

$ pip list
pip (1.5.6) setuptools (3.6)

安装django

$ sudo pipe3 install django

admim

name yangshuai password woaini222

django-admin-bootstrap 美化后台管理界面

doc: https://andrew-liu.gitbooks.io/django-blog/admin.html