Git Product home page Git Product logo

tx-cloud's Introduction

请导入本仓库到新仓库,私人化后使用

由于腾讯云资源政策变化,需要购买1元100万次资源包,我已正常使用6个月

变量1-2需要变写入文件里面

只需要填写以下1-3变量就可以跑了,变量4可以填可以不填

1,config.yml文件用于填写jd环境变量,如export JD_COOKIE="pt_key=123;pt_pin=123;&pt_key=123;pt_pin=123;"就填写JD_COOKIE: pt_key=123;pt_pin=123;&pt_key=123;pt_pin=123;

2,.env文件用于填写腾讯云函数自己的私钥,依次登录 SCF 云函数控制台 (https://console.cloud.tencent.com/scf)和 SLS 控制台 (https://console.cloud.tencent.com/sls)开通相关服务,确保账户下已开通服务并创建相应服务角色 SCF_QcsRole、SLS_QcsRole

将获得的SecretId和SecretKey分别添加到本仓库的.env文件里面

变量名Name:TENCENT_SECRET_ID,变量值Value:SecretId的值

变量名Name:TENCENT_SECRET_KEY,变量值Value:SecretKey的值

3,在settings里面找到secret,添加变量PAT(表示在github申请的个人秘钥,在这里申请https://github.com/settings/tokens)

4,自定义脚本放在仓库根目录,在serverless.yml填写自己添加的脚本定时

tx-cloud's People

Contributors

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