pecan
1、安装Pecan
更改pip镜像源mkdir ~/.pip
echo """
[global]
trusted-host=mirrors.aliyun.com
index-URL=http://mirrors.aliyun.com/pypi/simple/
""" >> ~/.pip/pip.conf
cat ~/.pip/pip.conf
执行pip安装pip install pecan
2、创建pecan项目
luckylau@luckylau-Ubuntu:~$virtualenv pecan-env
luckylau@luckylau-Ubuntu:~$cd pecan-env/
luckylau@luckylau-Ubuntu:~/pecan-env$ source bin/activate
(pecan-env) luckylau@luckylau-Ubuntu:~/pecan-env$ pip install pecan
(pecan-env) luckylau@luckylau-Ubuntu:~/pecan-env$ pecan create test_Project
(pecan-env) luckylau@luckylau-Ubuntu:~/pecan-env$ tree test_project/
test_project/
├── config.py
├── MANIFEST.in
├── public #一些静态文件包括CSS,JS,images,为你的开发服务
│ ├── css
│ │ └── style.css
│ └──