Write guide about running on Serverless platforms
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 65/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
调研方向
首先查看 Statamic 文档的结构和现有的部署指南;issue 未指定文件或测试。编写一份通用指南,涵盖只读文件系统和内容存储、缓存与会话驱动程序,以及可信代理配置,并说明 Vapor 会自动处理哪些设置。用户能够按照指南了解这些无服务器部署中的注意事项时,即为完成。
由索引模型根据 Issue 内容生成。
描述
This has come up a couple of times before, but it'd be nice to have a generalised guide to point folks to if they want to use a serverless platform, like Laravel Vapor or DigitalOcean App Platform.
There quite a lot of gotchas you need to be aware of when considering going "serverless" with a Statamic site:
- Serverless platforms often have read-only filesystem, so you can't write back to flat-files, so content needs to be stored in a database or you need a separate CMS environement (eg. on Forge) which pushes content to production.
- By default, Statamic uses the
filedrivers for caching and sessions. You'll need to use database (or redis) drivers for this instead.- Laravel Vapor does this for you out of the box.
- When using a platform like DigitalOcean's app platform, you will need to configure trusted proxies.
- Laravel Vapor does this for you out of the box.
- 主要语言
- PHP
- 星标
- 133
- 派生
- 405
- 平均合并
- 21 小时 45 分钟
- 30 天内合并 PR
- 12
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
statamic/docs 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 75/100
维护者通常 1 天内回复
-
Chunked Uploads未关闭
难度 1/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 40/100
维护者通常 1 天内回复
-
Document how conditions treat empty and null values可能已有人在做 @joshdaugherty 于 11 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 25/100
维护者通常 1 天内回复
-
Document the `query_scope` search index option可能已有人在做 @joshdaugherty 于 12 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 18/100
维护者通常 1 天内回复
相似的 Issue
-
FrameworkBundle SecurityBundle
难度 2/5 1-3 小时 新手友好度 68/100
symfony/symfony-docs#23277 ·
维护者通常 3 天内回复
-
[Sync EN] hard link does not need special permissions可能已有人在做 @lacatoire 今天认领。 未关闭sync-en
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
sync-en
难度 1/5 1 小时以内 新手友好度 76/100
维护者通常 4 天内回复
-
bug mod:appointments
难度 2/5 1-3 小时 新手友好度 78/100
3pontos-tech/gil-benefits#303 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复