Code Monkey home page Code Monkey logo

zhuye_kim's Introduction

zhuye_kim

仿zhuye.kim的简单导航程序

zhuye.kim(1).png

zhuye.kim(2).png

使用说明

  • 环境要求

    Centos7 + Python3 + MySQL + Django1.8.x-2.0.x

  • 安装宝塔面板,并安装mysql(mariadb也可以)和nginx

  • 新建数据库名为zhuye,导入zhuye.sql

  • 安装Python3和pip3

    Centos7系统安装Python3可以参考文章:http://blog.51cto.com/wenguonideshou/2083301

  • 安装必备组件,下载源码

    yum install git screen -y
    git clone https://github.com/wenguonideshou/zhuye_kim
  • 修改zhuye_kim/settings.py中的DATABASES对应的数据库信息(只需要修改数据库密码)

  • 安装必备库,迁移模型(更新表结构)

    cd zhuye_kim
    pip3 install -r requirements.txt
    python3 manage.py makemigrations --merge
    python3 manage.py makemigrations
    python3 manage.py migrate
    
  • 运行网站

    cd zhuye_kim
    screen -S zhuye
    python3 manage.py runserver 127.0.0.1:8001
  • Nginx反向代理

反向代理.png

后台地址为http://域名/admin,管理员用户名admin 密码12345678@

后台的“大分类”指的是常用/男生/女生 这一行,“小分类”指的是热门/资讯/影音/邮箱的这一列

更新记录:

2019-04-25 解决django对mysql严格模式的警告、增加requirements.txt限定django大版本号

2019-01-07 合并yetist提交的PR:支持django1.8+、支持分类排序、增加站点描述、增加站点默认图标、所有变量统一到settings.py中设置

2019-01-06 修复https下百度搜索关键字不联想的bug

2018-07-26 增加更换背景图功能,发布1.1版

2018-07-19 修复百度搜索关键字联想功能,发布1.0版

2018-07-18 补全导航中所有站点、图标

2018-07-17 去除多引擎,修改为默认单引擎

2018-07-16 发布beta版

获取更多帮助请加群

zhuye_kim's People

Contributors

wenguonideshou avatar yetist avatar dependabot[bot] avatar

Watchers

James Cloos 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.