GithubHelp home page GithubHelp logo

litttley / bioforum Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rebiocoder/bioforum

0.0 0.0 0.0 20.59 MB

基于django2.0,使用类视图搭建的一个学习论坛demo。(django2.0 forum)演示站点:

Home Page: http://www.biocoder.cn

Python 92.90% JavaScript 3.78% CSS 0.88% HTML 1.73% C++ 0.04% C 0.38% Tcl 0.27% PowerShell 0.02% Batchfile 0.01%

bioforum's Introduction

bioforum

django2.0搭建的一个论坛。(django2.0 forum)


在学习django2.0的过程中,最大的一个问题就是学了之后没有任何能够实践的项目,能让自己来练练手,github上的大多数项目都是基于django1.1-django1.9之间的,这是学习django2.0的过程中,一个最痛苦的一件事。

本论坛基于django2.0,使用类视图的继承模式,基于django2.0内部的登录模块和一些内置的优秀功能,开发的一个论坛demo。


论坛的前端模板使用的是niji论坛的简约模板,niji也是GitHub上的一个开源项目。 但是他是作为一个app可以附加到其他功能上的,可以直接使用pip安装,但是很多配置并不容易设置好,而且是基于django1.×的版本。 所以我并未参照它的后端逻辑,仅仅前端使用了niji论坛的模板。niji论坛使用的是bootstrap的响应式框架,有时间可以自己看看。

使用方式:

1.在manage.py中,修改数据库,改为你自己的数据库信息 ; 2.在host中添加你自己的站点信息,

3.pip install -r requirement.txt

4.python manage.py makemigrations

5.python manage.py migrate

6.pythton manage.py runserver

7.服务器的配置,我使用的是django2.0+python3+apache2.4+ubuntu,我的博客有相关文章:

django2.0在服务器上的配置1

django2.0在apache上的配置2


欢迎star,fork!


有好的生物信息学小项目可以联系我,qq:1301646236

(更多优质内容,请关注微信公众号:生物信息与python)

代码写的很烂,注释也不是很好,大家多多包涵

bioforum's People

Contributors

rebiocoder 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.