ServerlessBlog icon indicating copy to clipboard operation
ServerlessBlog copied to clipboard

一款基于Serverless Framework的博客系统

Results 5 ServerlessBlog issues
Sort by recently updated
recently updated
newest added

Bumps [flask](https://github.com/pallets/flask) from 1.1.1 to 2.3.2. Release notes Sourced from flask's releases. 2.3.2 This is a security fix release for the 2.3.x release branch. Security advisory: https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq, CVE-2023-30861 Changes: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-2...

dependencies
python

Bumps [werkzeug](https://github.com/pallets/werkzeug) from 0.16.0 to 2.2.3. Release notes Sourced from werkzeug's releases. 2.2.3 This is a fix release for the 2.2.x release branch. Changes: https://werkzeug.palletsprojects.com/en/2.2.x/changes/#version-2-2-3 Milestone: https://github.com/pallets/werkzeug/milestone/26?closed=1 This release contains...

dependencies
python

根据部分用户反馈,使用这个开源项目时候,其中admin和updateArticle两个函数资源消耗比较大。这个是由于这两个功能内存设置的比较大,可以考虑进行函数内存的修改。 例如: admin:修改成512,最好是640 updateArticle:修改成256 目前已经在压缩包和git上同步更新。 感谢微信群yang提出该问题。

GitHub的源码在部署之后后台会出现打不开的情况,所以建议下载[这个源码](https://others-1256773370.cos.ap-chengdu.myqcloud.com/ServerlessBlog.zip),这个配置部署之后则是可以成功的打开后台 ,其次便是tencent_secret_id和tencent_secret_key则是需要----打开腾讯云--右上角控制台--搜索API网关--创建密匙即可得到tencent_secret_id和tencent_secret_key

1: 修改conf: ![image](https://user-images.githubusercontent.com/21079031/75004870-8f611f80-54a7-11ea-8c1a-523f08af0a91.png) 增加一个个自己的上传路径: ``` config.image_previewText=' '; config.filebrowserImageUploadUrl= "http://api.0duzhan.com/tools/picture/upload?" ``` 上传这个路径对应的函数可以是:uploadPicture 2: 将admin/flask_editor/flask_editor/static目录上传到自己的cos ![image](https://user-images.githubusercontent.com/21079031/75004790-427d4900-54a7-11ea-856a-7588990c2406.png) 自己的cos要开启共有读私有写的权限。 3: 修改文件__init__.py ![image](https://user-images.githubusercontent.com/21079031/75004821-5e80ea80-54a7-11ea-904a-2bfaa0fc7c9b.png) 携程自己的cos对应的文件地址。 4: 重新部署admin函数