前因:
因为工作的关系,一直关注于C++的知识学习。最近失业,找工作的间隙,想学习一下网站的开发。
Pinterest这种形式的网站好像突然很火,而自己像利用这种形式做一个乐器知识分享的网站,所以就在网上找开源的Pinterest,于是就发现了:pinry;
准备:
首先下载pinry,我下载的是https://github.com/pinry/pinry/archive/v0.5.3.zip;
然后检查环境是否就绪:
- Python
- pip
sudo apt-get install python-pip
- virtualenv
- Your OS's build tools (Ubuntu:
build-essential
, Mac:Xcode
) - Build dependencies for PIL/Pillow (Ubuntu:
apt-get build-dep python-imaging
)
其中安装vitualenv命令如下:
sudo pip install virtualenv