下面是发布 SaaS 的 SOP,可以参考。每次新开项目的时候,可以按照这个 sop 快速执行。

整体流程

运行推广和需求发掘,更加重要。

时间分配:需求发掘 40% 的时间,开发应用 30% 的时间,运营推广 30%的时间。

运营推广

  • 低价值的用户:
    • 降低用户的试用量,或直接杜绝低价值用户的试用
    • 采用假排队方式,一直在排队,或者升级套餐可以使用

持续添加外链,推动排名增长

外链决定关键词能否到前 10 名。每一个新站先提交 15 个外链。发掘外链的方法

数据驱动

需求发掘

开发 SOP

下面是整体的开发的流程

开发一期:MVP 版本

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
- [ ] 复制项目: 除了这些文件 `.git`, `.next`, `node_modules`, `pnpm-lock.yaml`
- 配置 `wrangler.toml`文件:
  - [ ] 复制 `cp wrangler.example.toml``wrangler.toml`
    - [ ] 更新 wrangler.toml 的 name 字段

- 更新页面内容
  - [ ] 使用 `https://www.perplexity.ai/`来收集关键信息
  - [ ] 直接更新多语言的英文的 JSON 文件
    - [ ] 更新落地页的`en.json`:
    - [ ] 更新 `Privacy` 页面 和 `Terms` 页面
    - [ ] 更新博客页面
  - [ ] 其它地方的替换,全局搜索关键词替换
- [ ] 用户是否可以登录:配置 `LOGIN_DISABLED`
- 部署 `Cloudflare Worker`中的几个变量
  - [ ] worker 的 name 需要和`wrangler.toml`中的`name`一致
  - [ ] build command: `npx opennextjs-cloudflare build`
  - [ ] Deploy command: `npx opennextjs-cloudflare deploy --env production`
  - [ ] Non-production branch deploy command: `npx wrangler versions upload --env preview`
- 配置 Cloudflare:
  - [ ] Nameserver: change to the nameserver of Cloudflare
  - SSL/TLS:
    - [ ] SSL/TLS encryption mode: SSL/TLS -> Overview -> SSL/TLS encryption -> Full(strict)
    - [ ] Always Use HTTPS: SSL/TLS -> Edge Certificates -> Always Use HTTPS
    - [ ] Automatic HTTPS Rewrites: SSL/TLS -> Edge Certificates -> Automatic HTTPS Rewrites
  - 配置 301 重定向 : Redirect www.test.com to test.com:
    - [ ] 301 重定向到跟路径: Rules -> Page Rule -> Forward URL [301-redirect-of-cloudflare-pages.md](./301-redirect-of-cloudflare-pages/)
    - [ ] Test redirect: [wheregoes](https://wheregoes.com/)
- [ ] 检查 On-Page SEO 设置: 使用 AITDK 插件 提高效率.
  - [ ] TDH, Canonical link
  - [ ] Keywords density: 1. Total words: 800 words 2. density: 3%
  - [ ] Reviews page structure: headings structure
  - [ ] SSR Detection: use SSR check option
- Sitemap 配置:
  - 生成 sitemap:
    - [ ] 运行 `pnpm run generate-sitemap`
    - [ ] 检查生成的`sitemap.xml`
- [ ] Robots.txt: Generate robots.txt
- [ ] LLMs.txt: Generate llms.txt
- [ ] 删除文件: `robots.txt`, `sitemap.xml`
- 提交网站地图
  - [ ]  提交到`GSC`后台.
  - [ ] 提交 Bing Master.
- 配置 Google Analytics: 只配置生产环境
- 删除内容:
  - [ ] Footer 的友联
- 主题颜色:
  - [ ] 配置主题颜色:
  1.  [Shadcn UI themes](https://ui.shadcn.com/themes)
  2.  [shadcn UI theme generator](https://zippystarter.com/tools/shadcn-ui-theme-generator)
  - [ ] Mode Change: next-themes config default dark.
- 图片的Title和Alt内容要好好写

开发二期:优化内容

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
- Logo制作:
  - 制作一个简单的: 
  - 参考现成的:https://www.svgrepo.com/
  - 设计logo:
    - 使用 AI prompt 来生成, https://ideogram.ai/
    - 选择 emoji https://emojispark.com/ ,然后生成logo https://www.logo.surf/
    - https://logofa.st/
    - https://icon.ray.so/
    - https://www.svgviewer.dev/svg-to-png
  - Config favicon:
    - [ ] https://favicon.io/
    - [ ] https://realfavicongenerator.net/
  - [ ] Check favicon: https://realfavicongenerator.net/
- [ ] 登录功能:
  - [ ] Google OAuth [谷歌登录集成](./integrate-google-auth/)
    - [ ] 配置 Auth.js secret: `pnpm dlx auth secret`
- Cloudflare配置
  - 配置企业邮箱
    - [ ] 邮件路由: Add Business email address
    - [ ] Catch ALL and redirect to one destition email
  - [ ] Crawler Hints: Caching -> Configuration -> Crawler Hints
  - [ ] Always Online: Caching -> Configuration -> Always Online
  - Cache Rules:
    - Caching -> Cache Rules -> + Create Rules -> Cache Default File Extensions [Template]
      - [ ] Browser TTL: 14 days
      - [ ] Edge TTL: 1 year
  - [ ] Cloudflare Fonts: Speed -> Optimization -> Content Optimization -> Cloudflare Fonts
  - [ ] Early Hints: Speed -> Optimization -> Content Optimization -> Early Hints
  - [ ] Next/image cache: Cache Image Optimization of Next.js: https://st4ng.medium.com/how-to-use-next-js-image-optimization-with-cloudflare-569da7b3ddc6
    [ ] Add Page Rule to Cache Next.js Images: Rules -> Page Rules
    [ ] Add Transform Rule to Cache Fallback on separate URL
- [ ] 配置 Cloudflare R2: [config-cloudflare-r2](./config-cloudflare-r2/)

开发三期:优化内容

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
- 支付订阅:
  - [ ] 配置 Lemon Squeezy [integrate-lemonsqueezy.md](./integrate-lemonsqueezy/)
  - [ ] 配置 Creem.io
- [ ] Database: Supabase Or Neon.tech: Config the secret
- [ ] Block Some Country: Cloudflare -> Security -> Security Rules -> Add Security Rule
- [ ] 配置 Microsoft Clarity: https://clarity.microsoft.com/
- [ ] 配置日志工具 Better Stack
- [ ] 配置 tally.so form url
- [ ] 配置 Google Adsense: [google-adsense](./google-adsense/)
- [ ] 配置 Cloudflare 中的 WAF
- [] 配置 Sentry
- [ ] 性能优化: https://pagespeed.web.dev/