Giter Club home page Giter Club logo

Comments (2)

FredyVia avatar FredyVia commented on September 28, 2024

腾讯云函数部署

  1. git clone https://github.com/fredyvia/proxy-provider-converter/ && cd proxy-provider-converter && npm install && npm run build 目前不影响api部分使用的问题,部署后访问:https://***.cd.apigw.tencentcs.com/release/没问题,去掉最后一个斜杠就404了,解决了。
  2. 腾讯云函数控制台,先从头开始创建nodejs的运行环境(不要用nextjs模板,nextjs的模板所使用的nodejs版本为12,有点问题),具体为:新建->从头开始->Web函数->你想要取的函数名称->选择靠近你的地域->nodejs环境16.13->时区:shanghai->本地上传刚才的文件夹(这里要先构建也就是npm run build完成了再上传)->启用日志投递(在测试完没问题后记得关闭,不仅要在云函数里面关掉对该日志的引用还要在日志云服务里面删除该日志主题,因为这个是日志存储是计费的)->内存可以改小点(128M够了)->其他默认->确定

from proxy-provider-converter.

ggtony233 avatar ggtony233 commented on September 28, 2024

请问能否将构建完成的内容用nginx部署?
npm run build之后的文件夹是public吗?

from proxy-provider-converter.

Related Issues (8)

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.