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

整体流程

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

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

运营推广

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

外链决定关键词能否到前 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
52
53
54
55
56
57
58
59
60
61
- [ ] Copy project: exclude `.git`, `.next`, `node_modules`, `wrangler.toml`
- Config the `wrangler.toml` file:
  - [ ] run `cp wrangler.example.toml to wrangler.toml`, and the `wrangler.toml` is in `.gitignore` file by default.
    - [ ] update `compatibility_date` field.
  - [ ] Config the `Variables` in dashboard in Cloudflare after the project is deployed.
  - Delete `robots.txt`, `sitemap.xml`
  - [ ] Config whether can login or not 
- Delete content:
  - [ ] Friends Link
- Update Content of Page
  - [ ] Use https://www.perplexity.ai/  to collect all available information.
  - [ ] Update the content of the landing page: use cursor prompt to update the en json file.
  - [ ] Update Terms of use page: use AI to update the markdown file of Terms of use
  - [ ] Update Privacy Page: use AI to update the markdown file of Privacy Page,
  - [ ] Replace other usage of previous version: Global search previous keywords
- [ ] Config the login and logout system: turn off/on the login and logout system.
- Theme Color:
  - [ ] Config theme color:
  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.
- Logo & Favicon:
  - Generate SVG logo:
    - [ ] use AI prompt to generate logo with Cursor,Claude, https://ideogram.ai/
    - [ ] Convert to png: https://www.svgviewer.dev/svg-to-png
  - Config favicon: 
    - [ ] https://favicon.io/ 
    - [ ] https://realfavicongenerator.net/
  - [ ] Check favicon: https://realfavicongenerator.net/
- 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
  - [ ] Deploy on Cloudflare Pages: 
    - [ ] Config Domain: Cloudflare Pages -> Custom domains
  - Redirect www.test.com to test.com:
    - [ ] 301 Redirect: Rules -> Page Rule -> Forward URL [301-redirect-of-cloudflare-pages.md](./301-redirect-of-cloudflare-pages/)
    - [ ] Test redirect: [wheregoes](https://wheregoes.com/)
  - Cloudflare Page:
    - [ ] Custom Domains
  - Business email
    - [ ] Cloudflare Email Routing: Add Business email address
    - [ ] Catch ALL and redirect to one destition email
- [ ] Check SEO Metadata: use AITDK plugin to check the SEO metadata of the page.
  - [ ] TDH, Description, Canonical link
  - [ ] Keywords density: 1. Total words: 800 words 2. density: 3%
  - [ ] Reviews page structure: headings structure
  - [ ] SSR Detection: use SSR check option
- Sitemap:
  - Generate sitemap:
    - [ ] change the siteUrl in next-sitemap.config.js
    - [ ] run `pnpm run generate-sitemap`
  - [ ] Submit sitemap to GSC, check the links after the build.
  - [ ] Submit sitemap to Bing Webmaster Tools.
- [ ] Robots.txt: Generate robots.txt
- [ ] LLMs.txt: Generate llms.txt
- Google Analytics:
  - [ ] in environment variable file: .env.local, .env.production.
- [ ] Update tally.so form url

开发二期:优化内容

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
- Cloudflare
  - [ ] 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
- [ ] Config Bing Clarity: https://clarity.microsoft.com/
- [ ] API:
  - [ ] Disable the API
- [ ] Config LLM provider API token: replicate or.
- [ ] Config Cloudflare R2: [config-cloudflare-r2](./config-cloudflare-r2/)
- [ ] Config Better Stack
- [ ] Apply Google Adsense: [google-adsense](./google-adsense/)

开发三期:优化内容

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
- [] 配置Sentry
- Payment System:
  - [ ] Lemon Squeezy [integrate-lemonsqueezy.md](./integrate-lemonsqueezy/)
- [ ] Database: Supabase Or Neon.tech: Config the secret
- [ ] Backend API:
  - [ ] CORS 设置
  - [ ] Rate limit: limit the frequency of calls from a single IP
  - [ ] CSRF

- [ ] Login & Logout System:
  - [ ] Google OAuth [谷歌登录集成](./integrate-google-auth/)
  - [ ] 配置 Auth.js secret: `pnpm dlx auth secret`
- [ ] Block Some Country: Cloudflare -> Security -> Security Rules -> Add Security Rule
- [ ] Config Microsoft Clarity: https://clarity.microsoft.com/