Git Product home page Git Product logo

dbss's Introduction

Whysos.info 源码

环境:
Centos-6.4
uwsgi-1.9.14
nginx-1.4.2
django-1.5.4
postgresq-8.4.13
redis-2.8.8
不包含服务器优化

详细设计在wiki有说明

=====

本地配置

需要在本地建立local_settings.py来配置本地的一些内容
1.DEFAULT_FROM_EMAIL = dbss.local_settings.DEFAULT_FROM_EMAIL
2.EMAIL_HOST= dbss.local_settings.EMAIL_HOST
3.EMAIL_PORT = dbss.local_settings.EMAIL_PORT
4.EMAIL_HOST_USER = dbss.local_settings.EMAIL_HOST_USER
5.EMAIL_HOST_PASSWORD = dbss.local_settings.EMAIL_HOST_PASSWORD
6.DATABASES = {
 'default': {
  ...
  'USER': dbss.local_settings.DBROOT,
  'PASSWORD': dbss.local_settings.DBPWD,
  ...
 }
}
7.STATIC_ROOT = dbss.local_settings.STATIC_ROOT
8.MEDIA_ROOT = dbss.local_settings.MEDIA_ROOT
9.SECRET_KEY = dbss.local_settings.SECRET_KEY,这个是自动生成的,所以不配置用自动生成的值也可以

====

关于第三方库

1.django-avatar的修改在fork的版本里面
2.ckeditor是用的django-captcha是使用django-ckeditor-updated-4.2.7版本,修改的内容只限于ckeditor的静态文件,可以直接使用static里面的ckeditor。如果你想使用galleriffic,有个小小的bug,内容见小bug
3.daemonize的修改见fork版本,或者直接使用当前目录下的daemonize.py文件
4.django-simple-captcha在使用FormWizard的时候有个二次验证的问题,详情见地址,github上的讨论github 5.django-haystack
6.rest_framework
7.django-registration,加入了定义在myform中的LoginMsgForm,修改部分见fork的版本
8.django_rq
9.django_rq_dashboard
10.django_cors_headers
11.jieba中文分词

====

dbss's People

Contributors

allenling avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.