tencent-scf icon indicating copy to clipboard operation
tencent-scf copied to clipboard

update web example demo

Open ole3021 opened this issue 3 years ago • 1 comments

Update the example of a serverless config file for

  • keep it simple for most of bootstrap use cases /var/lang/${specific_lang}${version}/bin/${specific_lang} {enter_file}
  • keep the availablily for users who need to fully customize the complex bootstrap file.

according to the changes above:

  • if got 405 error, ask users to check Tencent SCF doc and add the customization bootstrap file.
  • after deploy and bootstrap success, send error message if the port 9000 is not in use.

Things prefer to have.

  • Provide complex bootstrap file demo in the help doc with explanation in comments.

ole3021 avatar Jun 22 '21 11:06 ole3021

@yugasun please follow up the issue and merge if needed. (or drop is fine, this is a idea explantation PR)

ole3021 avatar Aug 06 '21 05:08 ole3021