Giter VIP home page Giter VIP logo

thirtylol's Introduction

30lol

三十撸啊撸 网站源码

安装

  • 请确保当前环境已经安装python、pip

  • 获得源码

    git clone https://github.com/infinity1207/thirtylol.git

  • 进入src目录,假设代码放到 d:\thirtylol,打开windows命令行工具

    d:

    cd thirtylol\src

  • 安装依赖库

    pip install -r requirements.txt

  • 启动

    python manage.py runserver

  • 打开浏览器,地址栏输入 127.0.0.1:8000 进行访问

  • 源码中附带了一个包含了演示数据的数据库,默认添加了一个管理员账户,登录信息为

    用户名: admin

    密码: 1234

进阶设置

  • 使用用户管理模块

    python manage.py check_permissions

  • 全文检索

    python manage.py rebuild_index

  • 新浪微博登录

    #setting.py
    WEIBO_OAUTH_VERIFY = ...
    WEIBO_OAUTH_APP_KEY = ...
    WEIBO_OAUTH_APP_SECRET = ...
  • 更新Presenter信息 打开浏览器,访问http://127.0.0.1:8000/presenters/fetch, 请先在admin中配置每个Platform的Login param,如何获取Login param请查看presenters\views.py的相关注释及代码

thirtylol's People

Contributors

infinity1207 avatar

Watchers

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