A website for sharing photos
CSS Python JavaScript HTML Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
corelib
model Fix for liking photo Feb 11, 2014
module
static
templates
tests
tools
utils
view
.gitignore
.travis.yml
Makefile
README.md
application.py
local_settings.py.tmpl Remove dev settings May 19, 2014
requirements.txt
server.py Remove dev settings May 19, 2014
settings.py Add douban pip source May 20, 2014

README.md

Diggit

图片分享社区[代码正在整理中,暂时不可用]

搭建开发环境

  1. Install virtualenv

pip install virtualenv

  1. Clone code

git clone https://github.com/daydayfree/diggit.git

  1. virtualenv

cd diggit
virtualenv venv
source venv/bin/activate

  1. Install mongodb

sudo apt-get install mongodb

  1. Config database

cp local_settings.py.tmpl local_settings.py
modify local_settings.py

  1. Install requirements

make init-dev

  1. Config pip download source

edit ~/.pip/pip.conf

[global]
index-url = http://pypi.douban.com/simple
  1. Enjoy :)

运行测试用例

make test

Mailto: daydayfree@gmail.com