Python Web 架构

1. Django(全能型)
2. Tornado
3. Bottle
Python+Bottle+Sina SAE快速构建网站
http://www.cnblogs.com/Xjng/p/3511983.html
4. Flask(轻量级)

 

问题1:
ImportError: No module named bottle
答:需要安装bottle
1. sudo pip install bottle
sudo: pip: command not found
(需要先安装pip)
2. sudo easy_install bottle
(此方法可用)

 

git remote add sae https://git.sinaapp.com/houseloancal/
报错:
fatal: Not a git repository (or any of the parent directories): .git
解决方法:
git init

git add .
git commit -am "make it better"
git push sae master:1

Username: mobilefengxy@163.com
Password: xy******

http://houseloancal.sinaapp.com

 

posted @ 2015-10-31 11:34  mobilefeng  阅读(251)  评论(0编辑  收藏  举报