Giter VIP home page Giter VIP logo

bytedance-open-demo's Introduction

ByteDance-Open-Demo

申请账号

启动redis

  • access_token等数据都是保存在redis中,所以需要一个redis服务

  • 为了方便使用,项目中提供了一个默认的redis.conf, 只修改了两个配置:

    # 把protected-mode改为了no
    protected-mode no
    # 注释了bind
    # bind 127.0.0.1 ::1
  • 本项目使用的redis客户端是redisson,可以在application-dev.yml指定redis的配置文件。如果想要使用jedis,可以自己实现一个IByteDanceRedisOps

启动项目

  • 启动项目后需要等待字节跳动服务器将ticket推送过来后(一般10分钟以内),才能进行后续的授权等api调用。如果一直没有推送,请确认推送地址是否配置正确 image

bytedance-open-demo's People

Contributors

smallboyo avatar yydzxz 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.